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.

Scroll To Top