-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
ENH: DataFrame.to_parquet() returns bytes if path_or_buf not provided #37129
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 all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
24b5431
TST: add test from OP
arw2019 0f376e6
ENH/BUG: add None default to path for to_parquet
arw2019 9029990
ENH/BUG: initialize path to bytes if None
arw2019 328d475
DOC: add whatnsew
arw2019 82af86f
TYP: fix type hint to accomodate BytesIO
arw2019 b735989
feedback: return buffer.getvalue() if no path passed in
arw2019 2cbb8ca
feedback: rewrite test
arw2019 afce8e8
feedback: move whatsnew to enhancements
arw2019 fd9dae3
TYP: return type hints
arw2019 e3f5ddb
feedback: whatsnew
arw2019 22c8019
feedback: to_parquet docstring
arw2019 4ef37fb
feedback [mypy]: assert path_or_buf is BytesIO
arw2019 0f868dd
feedback: add assert in test
arw2019 0c9d3ad
DOC: add Returns to DataFrame.to_parquet docstring
arw2019 b945aad
TST: add engine param
arw2019 6b5e114
move test to TestParquetPyarrow
arw2019 46bbe23
feedback: test roundtrip w/o writing to file
arw2019 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.