filter(_:)
Returns a row grouping containing only the groups that satisfy a predicate.
Declaration
func filter(_ isIncluded: (DataFrame.Slice) throws -> Bool) rethrows -> SelfParameters
- isIncluded:
A predicate closure that takes a group and returns a Boolean that indicates whether the group is included.
Return Value
A data frame slice that contains the rows that satisfy the predicate.