home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 620097623

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/4010#issuecomment-620097623 https://api.github.com/repos/pydata/xarray/issues/4010 620097623 MDEyOklzc3VlQ29tbWVudDYyMDA5NzYyMw== 14808389 2020-04-27T16:36:30Z 2020-04-28T11:03:06Z MEMBER

take a look at the result of np.timedelta64(seconds=4): ```python In [2]: np.timedelta64(seconds=4) Out[2]: numpy.timedelta64(0)

In [3]: np.timedelta64(dt.timedelta(seconds=4)) Out[3]: numpy.timedelta64(4000000,'us')

In [4]: np.timedelta64(4, 's').astype("timedelta64[us]") Out[4]: numpy.timedelta64(4000000,'us') `` so you need to also specify the desired unit or cast adt.timedeltaobject. I'm not sure whytimedelta64ignores theseconds` kwarg, though.

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