home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 789275247

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/4983#issuecomment-789275247 https://api.github.com/repos/pydata/xarray/issues/4983 789275247 MDEyOklzc3VlQ29tbWVudDc4OTI3NTI0Nw== 6628425 2021-03-02T22:38:50Z 2021-03-02T22:38:50Z MEMBER

Yes, I agree, this seems reasonable. It's true that there is no object equivalent to datetime.date in cftime, but I do not think that is necessarily a requirement. We can raise an error in that instance.

I'll admit I personally have not found a need for functionality like this -- I typically prefer to use something like da.time.dt.floor("D"), since it retains the np.datetime64 or cftime type -- but if folks would find it useful I think it makes sense to add (this has come up on StackOverflow before too).

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