home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 1361886569

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
1361886569 PR_kwDOAMm_X84-Xawt 6988 Simplify datetime64 `dt.calendar` tests 6628425 closed 0     2 2022-09-05T12:39:30Z 2022-09-09T09:50:55Z 2022-09-08T23:34:44Z MEMBER   0 pydata/xarray/pulls/6988

This PR simplifies the tests for the calendar attribute on the dt accessor when using a datetime64[ns]-dtype DataArray. Instead of creating random-valued datetime arrays, we can use arrays of zeros (i.e. 1970-01-01), since the values of the datetimes should not be relevant to these tests (only their type matters).

I suspect this should address #6906, because it eliminates the need to convert to datetime64[ns], though I still feel as though there is a more fundamental pandas issue lurking there.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6988/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
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.509ms · About: xarray-datasette