Skip to content

aggregation ops for object-dtype are missing #1866

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
fujiisoup opened this issue Jan 30, 2018 · 0 comments · Fixed by #1883
Closed

aggregation ops for object-dtype are missing #1866

fujiisoup opened this issue Jan 30, 2018 · 0 comments · Fixed by #1883

Comments

@fujiisoup
Copy link
Member

This issue arises in #1837 comment, where we need to make a summation of object-dtype array, such as

xr.DataArray(np.array([True, True, False, np.nan], dtype=object), dims='x').sum('x', skipna=True)

Currently, it raises NotImplementedError.

pandas support this by having their own nan-aggregation methods.

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