Excel Data¤
ExcelData
¤
Parse excel files in multiple files into a single dataframe.
ed = ExcelData(
path=".", read_excel_kwargs={"sheet_name": "Sheet1", usecols="A:B"}
)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path |
Union[Path, str]
|
Path to the folder containing the excel files. |
required |
processes |
int
|
Number of processes to use. |
1
|
read_excel_kwargs |
Dict
|
Keyword arguments to pass to pandas.read_excel. |
{}
|
file_extension |
str
|
File extension to look for. |
'xlsx'
|
Source code in experimentalist_data/excel/excel_data.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
|