home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 314162219

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/1474#issuecomment-314162219 https://api.github.com/repos/pydata/xarray/issues/1474 314162219 MDEyOklzc3VlQ29tbWVudDMxNDE2MjIxOQ== 8699967 2017-07-10T16:36:53Z 2017-07-10T16:36:53Z CONTRIBUTOR

OK. That is good to know. In this case, I don't know the name if the dimension beforehand, so I thought it might be preferable to do:

python data = data.loc[{self.lsm_time_dim: [pd.to_datetime(time_step)]}] instead of: python data = data.sel(**{self.lsm_time_dim: [pd.to_datetime(time_step)]}) What are your thoughts?

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