home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 941810767

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
941810767 MDU6SXNzdWU5NDE4MTA3Njc= 5594 xarray does not seem to work with timezone aware indexes 29140541 open 0     3 2021-07-12T08:34:23Z 2021-08-14T17:39:44Z   NONE      

Using the following code, the created index is not a time index but has object type: ```python import numpy as np import pandas as pd import xarray as xr

data = xr.DataArray(np.random.random(5), dims=['time'], coords={'time': pd.date_range("2000-01-01", periods=5).tz_localize('UTC')}) print(data.time) ``` This can severely limit the practicality of time indexes. It also means that methods such as resample won't work.

Environment: I use xarray==0.18.2 with ubuntu

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5594/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 issue

Links from other tables

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