cast¶
Cast columns to a new dtype in a parquet dataset.
Functions
|
Parse a column:dtype cast specification. |
- undertale.utils.datasets.cast.parse_cast(value: str) Tuple[str, str]¶
Parse a column:dtype cast specification.
- Parameters:
value – A string in
"column:dtype"format.- Returns:
A tuple of
(column, dtype).- Raises:
argparse.ArgumentTypeError – If the value is not in the expected format.