read_multi_sheets#
- caf.van.utilities.read_multi_sheets(path, sheets, **kwargs)[source]#
Function to read in multiple excel sheets.
Reads all sheets into a dictonary and provides detailed error messages about missing columns.
- Parameters:
- Returns:
Dictionary where the keys are sheet names and values are the DataFrames containing the information from each sheet.
- Return type:
Dict[pd.DataFrame]
- Raises:
MissingWorksheetError – If any sheets given don’t exist in the XLSX.