Skip to content

Commit 435ef8d

Browse files
authored
Don't pass additional kwargs to file open. (#465)
1 parent 9fcd5a5 commit 435ef8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hats/io/file_io/file_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def load_csv_to_pandas_generator(
118118
pandas dataframe loaded from CSV
119119
"""
120120
file_pointer = get_upath(file_pointer)
121-
with file_pointer.open(mode="rb", compression=compression, **kwargs) as csv_file:
121+
with file_pointer.open(mode="rb", compression=compression) as csv_file:
122122
with pd.read_csv(csv_file, chunksize=chunksize, **kwargs) as reader:
123123
yield from reader
124124

0 commit comments

Comments
 (0)