On this page
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
-
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.Series.select.html