-
-
Couldn't load subscription status.
- Fork 19.2k
Closed
Labels
BugNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
import pandas as pd
s = pd.Series([3, 1, 2, 3, 4, np.nan])
s.value_counts(normalize=True)Issue Description
TypeError Traceback (most recent call last)
Cell In[737], line 1
----> 1 s = pd.Series([3, 1, 2, 3, 4, np.nan])
2 s.value_counts(normalize=True)
TypeError: 'Index' object is not callable
Expected Behavior
Must create a series and count the unique values
Installed Versions
Metadata
Metadata
Assignees
Labels
BugNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member