Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Fix pandas FutureWarning by handling fillna without downcasting#629

Open
Srikar Rairao (sharkz0912) wants to merge 1 commit intoGeneralMills:masterfrom
sharkz0912:fix-pandas-fillna-warning
Open

Fix pandas FutureWarning by handling fillna without downcasting#629
Srikar Rairao (sharkz0912) wants to merge 1 commit intoGeneralMills:masterfrom
sharkz0912:fix-pandas-fillna-warning

Conversation

@sharkz0912
Copy link
Copy Markdown

This PR addresses the FutureWarning from pandas related to downcasting during fillna() operations. The fix applies infer_objects(copy=False) and fills missing values based on the column's data type to prevent the warning and maintain correct functionality.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant