8000 Pass kwargs from read_parquet() to the underlying engines. by criemen · Pull Request #18216 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Pass kwargs from read_parquet() to the underlying engines. #18216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix PEP8 issue.
  • Loading branch information
Cornelius Riemenschneider committed Nov 10, 2017
commit 248a334b14378e0e8c75fba3804a73378973b2c5
3 changes: 2 additions & 1 deletion pandas/io/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def write(self, df, path, compression='snappy',

def read(self, path, columns=None, **kwargs):
path, _, _ = get_filepath_or_buffer(path)
return self.api.parquet.read_table(path, columns=columns, **kwargs).to_pandas()
return self.api.parquet.read_table(path, columns=columns,
**kwargs).to_pandas()


class FastParquetImpl(object):
Expand Down
0