pandas.Series.compress
-
Series.compress(condition, *args, **kwargs)
[source] -
Return selected slices of an array along given axis as a Series.
Deprecated since version 0.24.0.
See also
© 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.compress.html