-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
use _repr_inline_
for indexes that define it
#7183
Conversation
_repr_inline
for indexes that define it_repr_inline_
for indexes that define it
Great @keewis! One question: should we let |
Not sure. As far as I can tell, the information that could be put in the repr would be:
I guess the separation very much depends on how we want to display the indexes. For now, I'd imagine something like this would be great:
where |
Yeah I think we could let the whole line after the 1st column (coordinate names) be customized by the index. |
and the raw pandas indexes don't define `_repr_inline_`.
It does not allow reassigning the method, and it also complains about an attribute created in the constructor.
Looks all good to me! Do you want to add a what's new entry here or add it in #7185 with a link to this PR? |
okay, let's merge this and update #7183. |
Also, some tests for the index summarizer.
whats-new.rst