home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 387549048

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/2108#issuecomment-387549048 https://api.github.com/repos/pydata/xarray/issues/2108 387549048 MDEyOklzc3VlQ29tbWVudDM4NzU0OTA0OA== 1217238 2018-05-08T21:31:58Z 2018-05-08T21:31:58Z MEMBER

The pandas duplicated() method might be more convenient than using np.unique(), e.g., you could equivalently write: arr.sel(time=~arr.indexes['time'].duplicated())

I think we would be open to adding duplicated() to xarray, too, if you or someone else is interested in making a pull request.

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