Skip to content
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

BUG: Series.Count() miscounts NA values in ExtensionArrays #26835

Closed
pilkibun opened this issue Jun 13, 2019 · 2 comments

Comments

@pilkibun
Copy link
Contributor

commented Jun 13, 2019

Code Sample, a copy-pastable example if possible

In [9]: import numpy as np
   ...: import pandas as np
   ...: from pandas.tests.extension.decimal.array import to_decimal
   ...: ser = pd.Series(to_decimal([1,2,3]))
   ...: ser[0]=np.nan
   ...: ser.count()
3
@TomAugspurger

This comment has been minimized.

Copy link
Contributor

commented Jun 13, 2019

@pilkibun

This comment has been minimized.

Copy link
Contributor Author

commented Jun 13, 2019

already have one lined up, just opened this for a whatsnew reference. we mentioned this in #26730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.