load_csv

Signature

load_csv(
    path: str | Path,
    *,
    sep: str = ",",
    decimal: str = ".",
    rename_columns: Mapping[str, str] | None = None,
    required_columns: Collection[str] | None = None,
    missing: Literal["error", "drop", "allow"] = "error",
    comment: str | None = None,
    skip_initial_space: bool = True,
) -> pd.DataFrame

load_csv loads a CSV file into a pandas DataFrame with explicit checks for column renaming, required columns, and missing values.

This page serves as a quick entry point for the function. Usage details are in Overview, while How it works remains available as a dedicated subpage.