cycquery.ops.DropEmptyΒΆ
- class DropEmpty(cols)[source]ΒΆ
Bases:
QueryOp
Remove rows with empty values in some specified columns.
- Parameters:
cols (
Union
[str
,List
[str
]]) β Columns in which, if a value is empty, the corresponding row is removed.
Examples
>>> DropEmpty("col1")(table) >>> DropEmpty(["col1", "col2"])(table)
Methods