-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
PERF: Parse certain dates in Cython instead of falling back to dateutil.parse #25922
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
32 commits
Select commit
Hold shift + click to select a range
4222fd5
Add new benchmarks for parsing datetime strings
anmyachev 78254a4
Implement parsing dd/mm/yyyy and mm/dd/yyyy in Cython
vnlitvinov 1608090
fix code style
anmyachev eec3beb
using DEF statement for compile-time constant
anmyachev d322b8d
parse_slashed_date simplification
anmyachev 0546e0a
removed micro-bench
anmyachev 4a673ff
Support mm-yyyy along with mm-dd-yyyy
vnlitvinov 23df426
Rename parse_slashed_date to parse_delimited_date
vnlitvinov 3538566
Speed up parse_datetime_string_with_reso
vnlitvinov 4d4df11
fix code style
anmyachev 504de84
Move to datetime_new, add docstring to _parse_delimited_date
vnlitvinov 0613e66
Add whatsnew entry
vnlitvinov b985e37
fix parsing MM/YYYY for MM > 12
anmyachev f2843e1
added tests for parse_delimited_date
anmyachev 4f66004
fix flake8 bugs in test_parse_dates.py
anmyachev ac6e348
Fix date parsing for Python <= 3.6.0
vnlitvinov 5384ebe
removed parsing MM.YYYY format, because, for example, 10.2019 interpr…
anmyachev 889ef7a
Remove whatsnew entry for the change
vnlitvinov a6926e7
Remove duplicate parsing of MM-YYYY in _parse_dateabbr_string
vnlitvinov b7cd6b1
added some comments in _parse_delimited_date
anmyachev 4a2929d
fix docstring in _parse_delimited_date
anmyachev 4bc1821
fix bug when parsing 01/12/2019 with dayfirst==True
anmyachev a43fa7b
first attemp to use hypothesis in tests
anmyachev 710a287
apply isort on pandas/tests/io/parser/test_parse_dates.py
anmyachev 859e312
added new '%Y %m %d' format and 2 @pytest.mark.parametrize for test_h…
anmyachev b41ea63
removed test_parse_delimited_date; added next formats: '%y %m %d', '%…
anmyachev 6fad4f4
added message for pytest.skip(); more complete docstring in _parse_de…
anmyachev 7113c75
removed \ delimiter
anmyachev d0bfd91
using is_platform_windows() in date_strategy definition; changed date…
anmyachev da845ed
fixed import order; using @settings(deadline=None) now; dates with ye…
anmyachev 13717ec
removed extra 'parse' import
anmyachev 2cd971a
_is_not_delimiter is inline now
anmyachev 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
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.