cycquery.ops.DropNulls¶
- class DropNulls(cols)[source]¶
Bases:
QueryOpRemove rows with null values in some specified columns.
- Parameters:
cols (
Union[str,List[str]]) – Columns in which, if a value is null, the corresponding row is removed.
Examples
>>> DropNulls("col1")(table) >>> DropNulls(["col1", "col2"])(table)
Initialize the operation.
Methods