4. Data Extraction

A module to extract data from spreadsheets.

ptmd.lib.data_extractor.core.extract_data_from_spreadsheet(filepath: str) dict | None

Given a xlsx file, extract the data from the spreadsheet and return it as a dictionary.

Parameters

filepath – the path to the xlsx file

Returns

a dictionary containing the data from the spreadsheet