We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0a7f0a commit c1772e3Copy full SHA for c1772e3
src/power_grid_model_io/data_stores/excel_file_store.py
@@ -92,7 +92,11 @@ def sheet_loader():
92
columns = list(preview.columns)
93
dtype = {}
94
for col in columns:
95
- if col == "Name" or (isinstance(col, tuple) and col[0] == "Name"):
+ if (
96
+ col == "Name"
97
+ or col == "InObject.Name"
98
+ or (isinstance(col, tuple) and (col[0] == "Name" or col[0] == "InObject.Name"))
99
+ ):
100
dtype[col] = str
101
sheet_data = xls_file.parse(xls_sheet_name, header=self._header_rows, dtype=dtype)
102
sheet_data = self._remove_unnamed_column_placeholders(data=sheet_data)
0 commit comments