### Search

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

# pandas.Series.compress¶

Series.compress(self, condition, *args, **kwargs)[source]

Return selected slices of an array along given axis as a Series.

Deprecated since version 0.24.0.

Returns: Series Series without the slices for which condition is false.
Scroll To Top