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