pandas.Series.compress
-
Series.compress(condition, *args, **kwargs)
[source] -
Return selected slices of an array along given axis as a Series
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.23.4/generated/pandas.Series.compress.html