csv_to_df
csv_to_df(file, *args, **kwargs)
Reads a CSV file into a pandas DataFrame.
Parameters
- file : Path
- Path to the CSV file.
- *args, kwargs**
- Forwarded to
pandas.read_csv.
Returns
- pandas.DataFrame
- The CSV data as a DataFrame, with columns inferred from the file header.
Raises
- FileNotFoundError
- If
filedoes not exist.