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 947c77f commit dd15250Copy full SHA for dd15250
src/power_grid_model_io/data_stores/csv_dir_store.py
@@ -35,7 +35,7 @@ def load(self) -> TabularData:
35
Create a lazy loader for all CSV files in a directory and store them in a TabularData instance.
36
"""
37
38
- def lazy_csv_loader(csv_path: Path) -> Callable[[], pd.DataFrame]:
+ def lazy_csv_loader(csv_path: Path) -> LazyDataFrame:
39
def csv_loader():
40
return pd.read_csv(filepath_or_buffer=csv_path, header=self._header_rows, **self._csv_kwargs)
41
0 commit comments