I'm new to Quantopian, Python, and Pandas, and have been having some trouble with this. I want to get a random subset of my pipeline output in the Research environment so I can spot check my algorithm manually just to make sure it's doing what I think it is. I'm looking for something like:
for x in range(10)
print pipeline_output[ random.randint( 1, pipeline_output.shape[0] ) ]
but that's obviously not working.