-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
Lock down kwargs in offsets signatures #17458
Merged
Merged
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
5e276c9
Lock down kwargs in offsets signatures
jbrockmendel 0183e50
whatsnew note
jbrockmendel e33626e
Merge branch 'master' of https://github.com/pandas-dev/pandas into of…
jbrockmendel 1377df1
Merge branch 'master' of https://github.com/pandas-dev/pandas into of…
jbrockmendel ed78a4a
restrict YearOffset to month kwarg
jbrockmendel 36290d2
Restrict SemiMonthOffset kwargs to day_of_month
jbrockmendel 4443d6c
Lock down kwargs in FY5253 and FY5253Quarter
jbrockmendel 8cb6b66
lock down kwargs in BusinessDay, CustomBusinessMonthEnd
jbrockmendel fe7bb56
Lockdown kwargs in remaining DateOffset subclasses
jbrockmendel 3daab66
Briefer WhatsNew, add missing kwds attrs
jbrockmendel aefb68c
whitespace fixups
jbrockmendel 1e06d99
Move doc section to other api changes bullet point
jbrockmendel 7be31da
Merge branch 'master' into offset_sigs
jbrockmendel cd1f224
Add pickle tests for 0.19.2 and 0.20.3
jbrockmendel 97c896e
Merge branch 'offset_sigs' of https://github.com/jbrockmendel/pandas …
jbrockmendel e93de50
Merge branch 'master' of https://github.com/pandas-dev/pandas into of…
jbrockmendel 7426265
Merge branch 'master' of https://github.com/pandas-dev/pandas into of…
jbrockmendel aee75de
New version of test_pickle_v0_20_3
jbrockmendel cc5a71a
flake8 whitespace fixup
jbrockmendel 521a8d0
Merge branch 'master' of https://github.com/pandas-dev/pandas into of…
jbrockmendel 217a558
remove test per reviewer instruction
jbrockmendel 086b485
Add offsets with kwds to generate_legacy_storage_files
jbrockmendel 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 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
Binary file added
BIN
+127 KB
pandas/tests/io/data/legacy_pickle/0.20.3/0.20.3_x86_64_darwin_2.7.14.pickle
Binary file not shown.
This file contains 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
none of this is needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these go in the generate_legacy_storage_files script instead. (which you then use to generate). I think the instructions are now pretty clear. If they are not, feel free to update them as well (at the top of that file).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, just removed that test. As to the instructions, I'm still unclear on where the actual test goes and what it looks like.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test is generic it runs ALL of the pickle files
that’s the point you don’t actually need to construct a test just put a new pickle file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK.
test_pickle_v0_20_3
has been removed, so it sounds like we're good to go.