Skip to content

Commit aecf0e0

Browse files
bryanyang0528igorborgest
authored andcommitted
refacor naming of pandas_kwargs
1 parent 59a2d1c commit aecf0e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/s3/_read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def _read_text_chunksize(
170170
pandas_kwargs["compression"] = infer_compression(path, compression="infer")
171171
mode: str = "r" if pandas_kwargs.get("compression") is None else "rb"
172172
with fs.open(path, mode) as f:
173-
reader: pandas.io.parsers.TextFileReader = parser_func(f, chunksize=chunksize, **pandas_args)
173+
reader: pandas.io.parsers.TextFileReader = parser_func(f, chunksize=chunksize, **pandas_kwargs)
174174
for df in reader:
175175
if dataset is True:
176176
for column_name, value in partitions.items():

0 commit comments

Comments
 (0)