Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
georgiannajames committed Jan 28, 2025
1 parent 1a131c3 commit 02154c3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion py_src/fusion/fusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,12 @@ def to_df( # noqa: PLR0913
elif dataset_format == "raw":
dataframes = (
pd.concat(
[pd_reader(ZipFile(f).open(p), **pd_read_kwargs) for p in ZipFile(f).namelist()], # type: ignore
[
pd_reader(zf.open(p), **pd_read_kwargs) # type: ignore
for f in files
for p in ZipFile(f).namelist()
for zf in [ZipFile(f)]
],
ignore_index=True,
)
for f in files
Expand Down

0 comments on commit 02154c3

Please sign in to comment.