def load_data_frame(file_path: str, encoding: str = "utf-8"):
    """Load a data frame from a CSV (or similar) file.

    Args:
        file_path: The file to load.
        encoding: The encoding to use when reading the file.

    """
    loaders = {extensions: partial(loader, encoding=encoding) for extensions, loader in _data_frame_loaders.items()}
    return load(file_path, loaders)
Load a data frame from a CSV (or similar) file.

    Args:
        file_path: The file to load.
        encoding: The encoding to use when reading the file.

    
src/flash/core/data/utilities/loading.py