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/5594#issuecomment-879188475,https://api.github.com/repos/pydata/xarray/issues/5594,879188475,MDEyOklzc3VlQ29tbWVudDg3OTE4ODQ3NQ==,2448579,2021-07-13T15:29:54Z,2021-07-13T15:29:54Z,MEMBER,"The resample issue is tracked in #1490. In general, (IIUC) we use numpy arrays for the data and those don't support timezones. So it's a mess (https://github.com/pydata/xarray/issues/1490#issuecomment-318183360)","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,941810767
https://github.com/pydata/xarray/issues/5594#issuecomment-878837580,https://api.github.com/repos/pydata/xarray/issues/5594,878837580,MDEyOklzc3VlQ29tbWVudDg3ODgzNzU4MA==,29140541,2021-07-13T07:11:20Z,2021-07-13T07:11:20Z,NONE,"For example resample yields the following error:
```python
>>> data.resample(time='1d')
Traceback (most recent call last):
File """", line 1, in
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/xarray/core/common.py"", line 1173, in resample
resampler = self._resample_cls(
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/xarray/core/resample.py"", line 175, in __init__
super().__init__(*args, **kwargs)
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/xarray/core/groupby.py"", line 348, in __init__
full_index, first_items = self._get_index_and_items(index, grouper)
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/xarray/core/groupby.py"", line 449, in _get_index_and_items
first_items = s.groupby(grouper).first()
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/pandas/core/series.py"", line 1720, in groupby
return SeriesGroupBy(
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/pandas/core/groupby/groupby.py"", line 560, in __init__
grouper, exclusions, obj = get_grouper(
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/pandas/core/groupby/grouper.py"", line 719, in get_grouper
binner, grouper, obj = key._get_grouper(obj, validate=False)
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/pandas/core/resample.py"", line 1484, in _get_grouper
r = self._get_resampler(obj)
File ""/home/bruno/miniconda3/envs/torch/lib/python3.8/site-packages/pandas/core/resample.py"", line 1476, in _get_resampler
raise TypeError(
TypeError: Only valid with DatetimeIndex, TimedeltaIndex or PeriodIndex, but got an instance of 'Index'
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,941810767
https://github.com/pydata/xarray/issues/5594#issuecomment-878795873,https://api.github.com/repos/pydata/xarray/issues/5594,878795873,MDEyOklzc3VlQ29tbWVudDg3ODc5NTg3Mw==,5635139,2021-07-13T05:41:51Z,2021-07-13T05:41:51Z,MEMBER,"I think this a problem with the repr rather than the index:
```python
...: print(data.time)
array([946684800000000000, 946771200000000000, 946857600000000000,
946944000000000000, 947030400000000000], dtype=object)
Coordinates:
* time (time) object 946684800000000000 ... 947030400000000000
In [2]: data.indexes['time']
Out[2]:
DatetimeIndex(['2000-01-01 00:00:00+00:00', '2000-01-02 00:00:00+00:00',
'2000-01-03 00:00:00+00:00', '2000-01-04 00:00:00+00:00',
'2000-01-05 00:00:00+00:00'],
dtype='datetime64[ns, UTC]', name='time', freq='D')
```
But I wouldn't be surprised if there were issues with this sort of index — please post issues if you find them.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,941810767