home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 679568161

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
679568161 MDExOlB1bGxSZXF1ZXN0NDY4MzExMDk3 4344 Fix overflow-related bug in computing means of cftime.datetime arrays 6628425 closed 0     1 2020-08-15T13:08:33Z 2020-08-15T20:05:29Z 2020-08-15T20:05:23Z MEMBER   0 pydata/xarray/pulls/4344

Going through pandas.TimedeltaIndex within duck_array_ops._to_pytimedelta leads to overflow problems (presumably it casts to a "timedelta64[ns]" type internally). This PR updates the logic to directly use NumPy to do the casting, first to "timedelta64[us]", then to datetime.timedelta.

  • [x] Closes #4341
  • [x] Tests added
  • [x] Passes isort . && black . && mypy . && flake8
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4344/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.76ms · About: xarray-datasette