Skip to content

Commit dd15250

Browse files
committed
Use LazyDataFrame
Signed-off-by: Bram Stoeller <bram.stoeller@alliander.com>
1 parent 947c77f commit dd15250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/power_grid_model_io/data_stores/csv_dir_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def load(self) -> TabularData:
3535
Create a lazy loader for all CSV files in a directory and store them in a TabularData instance.
3636
"""
3737

38-
def lazy_csv_loader(csv_path: Path) -> Callable[[], pd.DataFrame]:
38+
def lazy_csv_loader(csv_path: Path) -> LazyDataFrame:
3939
def csv_loader():
4040
return pd.read_csv(filepath_or_buffer=csv_path, header=self._header_rows, **self._csv_kwargs)
4141

0 commit comments

Comments
 (0)