Skip to content

Conversation

@jtratner
Copy link
Contributor

I think this is the right way to do it. MI needs this for _engine and
friends. I think there are other objects that use cache_readonly that
might want to reset too.

I also moved the local dir methods off of StringMixin to PandasObject
(where they ought to have been).

Fixes #5236 and fixes #5225.

@jreback
Copy link
Contributor

jreback commented Oct 16, 2013

this is fine

FYI - I realize that am using _cacher in NDFrame for the ref to the _item_cache

but that's different anyhow

@jtratner
Copy link
Contributor Author

_reset_readonly_cache?

@jreback
Copy link
Contributor

jreback commented Oct 16, 2013

no this is consistent with the _cache holder

(but I may change the other one now that I think about it)

jtratner added a commit that referenced this pull request Oct 16, 2013
CLN: Add _reset_cache method to PandasObject
@jtratner jtratner merged commit 6830600 into pandas-dev:master Oct 16, 2013
@jtratner jtratner deleted the add-_reset_cache-to-PandasObject branch October 16, 2013 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants