nemo_curator.utils.column_utils
nemo_curator.utils.column_utils
Module Contents
Functions
API
Map Arrow strings to a pandas dtype with functional string operations.
Map Arrow types to pandas dtypes with functional string operations.
Resolve the filename column name based on the input parameter.
Parameters:
add_filename_column
Can be:
- True: Use default filename column name
- False: No filename column
- str: Use the provided string as column name
Returns: str | None
str | None: The filename column name or None if not needed