Skip to content

bug fix on issue 52799 #52807

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
wants to merge 3 commits into from
Closed

Conversation

ryanyao2002
Copy link

@ryanyao2002 ryanyao2002 commented Apr 20, 2023

@ryanyao2002 ryanyao2002 changed the title Test changes bug fix on issue 52799 Apr 20, 2023
Copy link
Member

@mroeschke mroeschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a suggestion, this issue is probably not suitable for a first time contributor. I would recommend starting off with issues labeled good first issue

@@ -185,6 +185,8 @@ def fillna(self, value=None, method=None, limit: int | None = None) -> Self:
else:
# fill with value
new_values = self.copy()
if np.isneginf(value) or np.isinf(value):
new_values = new_values.astype(np.float64)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't change the type here. The result should have the same type

@rhshadrach rhshadrach added Bug NA - MaskedArrays Related to pd.NA and nullable extension arrays labels Apr 21, 2023
@github-actions
Copy link
Contributor

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label May 22, 2023
@mroeschke
Copy link
Member

Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen.

@mroeschke mroeschke closed this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug NA - MaskedArrays Related to pd.NA and nullable extension arrays Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: clip raises when using extension array dtypes
3 participants