caf.van.utilities#
Set of utilities for use in the freight tool.
Functions
|
Check that the given path is an existing file. |
|
Checks if given path is an existing folder. |
|
Wrapper function for pandas.read_csv to perform additional checks. |
|
Wrapper function for pandas.read_excel to perform additional checks. |
|
Function to read in multiple excel sheets. |
|
Transform a dataframe to a dictionary. |
Classes
|
Dataclass for storing path to data source and zone correspondence. |
|
Class for reading the parameters given and creating an empty parameter file for input. |
Exceptions
|
Raised when columns are missing from input CSV or spreadsheet. |
|
Raised when a parameter is missing from the input. |
|
Raised when worksheet is missing from input spreadsheet. |