home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 2152367065

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
2152367065 PR_kwDOAMm_X85n0pyX 8782 Fix non-nanosecond casting behavior for `expand_dims` 6628425 closed 0     0 2024-02-24T15:38:41Z 2024-02-27T18:52:58Z 2024-02-27T18:51:49Z MEMBER   0 pydata/xarray/pulls/8782

This PR fixes the issue noted in https://github.com/pydata/xarray/issues/7493#issuecomment-1953091000 that non-nanosecond precision datetime or timedelta values passed to expand_dims would not be cast to nanosecond precision. The underlying issue was that the _possibly_convert_datetime_or_timedelta_index function did not appropriately handle being passed PandasIndexingAdapter objects.

  • [x] Fixes https://github.com/pydata/xarray/issues/7493#issuecomment-1953091000
  • [x] Tests added
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/8782/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

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