home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 427291294

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/557#issuecomment-427291294 https://api.github.com/repos/pydata/xarray/issues/557 427291294 MDEyOklzc3VlQ29tbWVudDQyNzI5MTI5NA== 6883049 2018-10-05T08:46:12Z 2018-10-05T08:46:12Z CONTRIBUTOR

I though this issue was long forgotten ; ) The fact is that today I still call this seltime function very often in my code so I am glad to see it back, thank you.

I like the .isin(elnino_years) syntax, and I see that it is consistent with pandas. Something like dataset.time.year.isin(elnino_years) would be very nice too, right now is just a "to_index()" away, as this works: dataset.time.to_index().year.isin(elnino_years). However I am not sure about how this is related with multidimensional indexing, as time is only one dimension.

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