home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 140465411

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/577#issuecomment-140465411 https://api.github.com/repos/pydata/xarray/issues/577 140465411 MDEyOklzc3VlQ29tbWVudDE0MDQ2NTQxMQ== 1217238 2015-09-15T17:07:56Z 2015-09-15T17:07:56Z MEMBER

Yes, this is similar to how I've done this in the past. Your function works fine, but I would probably use ds = ds.assign(**{lon: mod(ds[lon], 360}) to avoid modifying the existing coordinates in-place.

Also, it would be nice if we supported ds.sort_index(lon) instead of requiring an explicit reindex.

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