pandas 0.9.1 documentation

pandas.DataFrame.take

DataFrame.take(indices, axis=0)

Analogous to ndarray.take, return DataFrame corresponding to requested indices along an axis

Parameters :

indices : list / array of ints

axis : {0, 1}

Returns :

taken : DataFrame