Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.Series.select

Series.select(crit, axis=0)[source]

Return data corresponding to axis labels matching criteria.

Deprecated since version 0.21.0: Use df.loc[df.index.map(crit)] to select via labels

Parameters:
crit : function

To be called on each index (label). Should return True or False

axis : int
Returns:
selection : same type as caller
Scroll To Top