subset

subset(obj, *args, **kwargs)

Return a subset of obj according to conditions.

R equivalent: subset()