home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 349819742

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/pull/1762#issuecomment-349819742 https://api.github.com/repos/pydata/xarray/issues/1762 349819742 MDEyOklzc3VlQ29tbWVudDM0OTgxOTc0Mg== 1217238 2017-12-07T00:23:27Z 2017-12-07T00:23:27Z MEMBER

Once implemented, would the round/ceil/floor methods work as arguments to groupby too?

Sure. You could write, e.g., ds.groupby(ds.time.dt.floor('1D')).mean()

Are you in favor of renaming the current functionality todt.yeardate or some such for convenient usage?

I would be inclined to stick to the datetime methods/properties from pandas: https://pandas.pydata.org/pandas-docs/stable/api.html#datetimelike-properties

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