Skip to content

error: No overload variant of "fillna" of "Series" matches argument type "NAType" [call-overload] #263

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

Closed
randolf-scholz opened this issue Sep 4, 2022 · 1 comment · Fixed by #312

Comments

@randolf-scholz
Copy link
Contributor

import pandas as pd
s = pd.Series([1.2, float('nan')])
s = s.fillna(pd.NA)
print(s)
@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Sep 4, 2022

Have to add NaTType to various overloads of fillna() in both core/series.pyi and core/frame.pyi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants