home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 469153520

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/2795#issuecomment-469153520 https://api.github.com/repos/pydata/xarray/issues/2795 469153520 MDEyOklzc3VlQ29tbWVudDQ2OTE1MzUyMA== 1217238 2019-03-04T07:58:23Z 2019-03-04T07:58:23Z MEMBER

What would .unique() return on xarray.DataArray? For consistency with pandas, I guess it would return a 1D numpy or dask array?

I don't see a lot of value in adding this to xarray, given that all the xarray metadata gets lost by the unique() operation. You might as well just write np.unique(my_data_array.data).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  415774106
Powered by Datasette · Queries took 0.703ms · About: xarray-datasette