pandas
pandas copied to clipboard
BUG: Add fillna at the beginning of _where not to fill NA. #60729
- [X] closes #60729 (Replace xxxx with the GitHub issue number)
- [X] Tests added and passed if fixing a bug or adding a new feature
- [X] All code checks passed.
- [ ] Added type annotations to new arguments/methods/functions.
- [X] Added an entry in the latest
doc/source/whatsnew/vX.X.X.rstfile if fixing a bug or adding a new feature.
Added fillna at the beginning of _where so that we can fill pd.NA. Since this is my first PR, please correct me if I'm mistaken. Thanks!