filter

Filter rows in a parquet dataset.

Functions

parse_clause(value)

Parse a column:value filter clause.

undertale.utils.datasets.filter.parse_clause(value: str) Tuple[str, str]

Parse a column:value filter clause.

Parameters:

value – A string in "column:value" format.

Returns:

A tuple of (column, substring).

Raises:

argparse.ArgumentTypeError – If the value is not in the expected format.