-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: add arrow engine to read_csv #31817
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
Closed
Closed
Changes from 38 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
f22ff46
add arrow engine to read_csv
lithomas1 8ae43e4
fix failing test
lithomas1 09074df
formatting and revert unnecessary change
lithomas1 6be276d
remove bloat and more formatting changes
lithomas1 df4fa7e
Whatsnew
lithomas1 9cd9a6f
Merge remote-tracking branch 'upstream/master' into add-arrow-engine
lithomas1 ecaf3fd
Get tests up and running
lithomas1 b3c3287
Some fixes
lithomas1 474baf4
Add asvs and xfail some tests
lithomas1 2cd9937
address comments
lithomas1 48ff255
Merge branch 'master' into add-arrow-engine
lithomas1 3d15a56
fix typo
lithomas1 c969373
Merge branch 'add-arrow-engine' of github-other.com:lithomas1/pandas …
lithomas1 98aa134
some fixes
lithomas1 b9c6d2c
Fix bug
lithomas1 67c5db6
Fix merge conflicts
lithomas1 7f891a6
New benchmark and fix more tests
lithomas1 11fc737
Merge branch 'master' into add-arrow-engine
lithomas1 23425f7
More cleanups
lithomas1 d9b7a1f
Merge master
lithomas1 b8adf3c
Merge branch 'add-arrow-engine' of github-other.com:lithomas1/pandas …
lithomas1 01c0394
Formatting fixes and typo correction
lithomas1 ba5620f
skip pyarrow tests if not installed
lithomas1 2570c82
Address comments
lithomas1 b3a1f66
Get some more tests to pass
lithomas1 d46ceed
Fix some bugs and cleanups
lithomas1 d67925c
Merge branch 'master' into add-arrow-engine
lithomas1 6378459
Perform version checks for submodule imports too
lithomas1 9d64882
Refresh with newer pyarrow
lithomas1 852ecf9
Merge branch 'master' into add-arrow-engine
lithomas1 93382b4
Start xfailing tests
lithomas1 f1bb4e2
Get all tests to run & some fixes
lithomas1 14c13ab
Merge branch 'master' into add-arrow-engine
lithomas1 7876b4e
Lint and CI
lithomas1 4426642
Merge branch 'master' into add-arrow-engine
lithomas1 008acab
parse_dates support and fixups of some tests
lithomas1 2dddae7
Date parsing fixes and address comments
lithomas1 261ef6a
Merge branch 'master' into add-arrow-engine
lithomas1 88e200a
Clean/Address comments/Update docs
lithomas1 bf063ab
Merge branch 'master' into add-arrow-engine
lithomas1 ede2799
Fix typo
lithomas1 e8eff08
Fix doc failures
lithomas1 87cfcf5
Merge remote-tracking branch 'upstream/master' into add-arrow-engine
simonjayhawkins 55139ee
wip
simonjayhawkins c1aeecf
more xfails and skips
simonjayhawkins 62fc9d6
Merge branch 'master' into add-arrow-engine
lithomas1 b53a620
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f13113d
Fix typos
lithomas1 f9ce2e4
Doc fixes and more typo fixes
lithomas1 4158d6a
Green?
lithomas1 d34e75f
Merge branch 'master' into add-arrow-engine
lithomas1 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,9 +160,11 @@ dtype : Type name or dict of column -> type, default ``None`` | |
(unsupported with ``engine='python'``). Use `str` or `object` together | ||
with suitable ``na_values`` settings to preserve and | ||
not interpret dtype. | ||
engine : {``'c'``, ``'python'``} | ||
Parser engine to use. The C engine is faster while the Python engine is | ||
currently more feature-complete. | ||
engine : {``'c'``, ``'pyarrow'``,``'python'``} | ||
Parser engine to use. In terms of performance, the pyarrow engine, | ||
which requires pyarrow>=0.15.0, is faster than the C engine, which | ||
is faster than the python engine. However, the pyarrow and C engines | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. add a versionchanged tag here 1.2 |
||
are currently less feature complete than their Python counterpart. | ||
converters : dict, default ``None`` | ||
Dict of functions for converting values in certain columns. Keys can either be | ||
integers or column labels. | ||
|
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
Oops, something went wrong.
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.