cycquery.ops.Substring¶
- class Substring(col, start_index, stop_index, new_col_label=None)[source]¶
Bases:
QueryOp
Get substring of a string column.
- Parameters:
Examples
>>> Substring("col1", 0, 2, "col1_substring")(table)
Initialize the operation.
Methods