-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
ENH: Added public accessor registrar #18827
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
TomAugspurger
merged 36 commits into
pandas-dev:master
from
TomAugspurger:accessor-decorator
Jan 16, 2018
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
6ae52d4
ENH: Added public accessor registrar
TomAugspurger 998bb28
PEP8
TomAugspurger 9b20a5c
Moved to extensions
TomAugspurger 9005e1c
More docs
TomAugspurger 33a9f3f
Fix see also
TomAugspurger 27c6af0
Merge remote-tracking branch 'upstream/master' into accessor-decorator
TomAugspurger 35db58d
Merge remote-tracking branch 'upstream/master' into accessor-decorator
TomAugspurger 11edc42
DOC: Added whatsnew
TomAugspurger 682bb84
Move to api
TomAugspurger 964356f
Update post review
TomAugspurger ec505e4
flake8
TomAugspurger e76cecf
Raise the underlying error instead of a RuntimeError
TomAugspurger 19e9fa0
str validate
TomAugspurger c1c498c
DOC: Moved to developer
TomAugspurger ecc1cd7
REF: Use public registrars for accessors
TomAugspurger 663542e
Merge remote-tracking branch 'upstream/master' into accessor-decorator
TomAugspurger 2ad2fa0
cleanup
TomAugspurger 402f08c
Merge remote-tracking branch 'upstream/master' into accessor-decorator
TomAugspurger c2a94e8
Implemented optional caching
TomAugspurger d910a0f
Document cache
TomAugspurger 8bcd412
Tests passing
TomAugspurger ded3513
Use for plot
TomAugspurger 632f097
Fix autodoc
TomAugspurger 5dc4d05
Fix the class instantiation
TomAugspurger 28865d7
Refactor again.
TomAugspurger 3bf4889
Fix API files
TomAugspurger dea5d17
Remove stale comment
TomAugspurger 9559f12
Tests pass
TomAugspurger b00b0f8
DOC: some cleanup
TomAugspurger f03777f
No need to assign doc
TomAugspurger 1bedf9f
Rename, shared docs
TomAugspurger 018facd
Doc __new__
TomAugspurger a308a2e
Use UserWarning
TomAugspurger 66e2207
Update test
TomAugspurger 1c75879
Merge remote-tracking branch 'upstream/master' into accessor-decorator
TomAugspurger fd40244
Merge remote-tracking branch 'upstream/master' into accessor-decorator
TomAugspurger 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
Remove stale comment
- Loading branch information
commit dea5d173a3406f09edfa1ebd9905f16d126bd0ac
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,7 +107,6 @@ def f(self, *args, **kwargs): | |
# Ported with modifications from xarray | ||
# https://github.com/pydata/xarray/blob/master/xarray/core/extensions.py | ||
# 1. We don't need to catch and re-raise AttributeErrors as RuntimeErrors | ||
# 2. We made caching configurable | ||
|
||
|
||
class _CachedAccssor(object): | ||
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. name this: |
||
|
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.
Indeed, please do let me know exactly what you needed to change :)
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.
@TomAugspurger : For better or worse, that's a much less significant change than I expected. Maybe should add a comment about that.