cycquery.ops.Keep¶
- class Keep(cols)[source]¶
Bases:
QueryOp
Keep only the specified columns in a table.
Examples
>>> Keep("col1")(table) >>> Keep(["col1", "col2"])(table)
Initialize the operation.
Methods
Bases: QueryOp
Keep only the specified columns in a table.
Examples
>>> Keep("col1")(table)
>>> Keep(["col1", "col2"])(table)
Initialize the operation.
Methods