We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Good day!
s = pd.Series(np.arange(10), name='items') c = s.value_counts() c.name #=> 'items' c.index.name #=> None
IMHO that's very strange. Values of c are quantities/counts/etc. not "items". "Items" are represented in c.index. No?
c
c.index
What do you think?
Thanks!
The text was updated successfully, but these errors were encountered:
The name here is simply being carried over from the originating Series. Are you asking for a particular enhancement that differs from that?
Sorry, something went wrong.
@WillAyd , yes:
c.name #=> 'counts' c.index.name #=> 'items'
Thanks @kuraga for the report - not sure why you closed this, but I've opened a new issue to take your suggestion forwards #49497
No branches or pull requests
Good day!
IMHO that's very strange. Values of
c
are quantities/counts/etc. not "items". "Items" are represented inc.index
. No?What do you think?
Thanks!
The text was updated successfully, but these errors were encountered: