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/3291#issuecomment-824354016,https://api.github.com/repos/pydata/xarray/issues/3291,824354016,MDEyOklzc3VlQ29tbWVudDgyNDM1NDAxNg==,1217238,2021-04-21T20:59:18Z,2021-04-21T21:00:41Z,MEMBER,"> If `ds[""time""]` is a 1D indexed coordinate, is `ds[""time""].data ≡ ds.indexes[""time""].data`? If so, that would just be a `pd.DatetimeIndex` which is timezone-aware and then this problem is solved because we don't maintain a separate numpy array. Am I understanding this correctly? No, unfortunate it is not possible to use a `pandas.Index` directly inside `Variable.data`, because pandas.Index is not compatible with the NumPy array API -- in particular it is stuck with 1D data. Instead, we will need to wrap the array in some adapter class to make it compatible. Ideally this wrapper would be a fully N-dimensional wrapper for `pandas.Series` objects, but for a first pass it would probably be fine to raise an error if indexing would create a higher dimensional array. The bigger issue is that elsewhere in Xarray probably needs updates to avoid assuming that all dtype objects are `numpy.dtype` instances.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,490618213 https://github.com/pydata/xarray/issues/3291#issuecomment-531522690,https://api.github.com/repos/pydata/xarray/issues/3291,531522690,MDEyOklzc3VlQ29tbWVudDUzMTUyMjY5MA==,1217238,2019-09-15T00:00:37Z,2019-09-15T00:00:37Z,MEMBER,"You should be getting a warning about this if you use the latest version of pandas. In the future, this behavior will change to return an object dtype array full of pandas Datetime objects. Unfortunately NumPy doesn't have a built-in datetime with time-zone stype, so this is about the best we can do.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,490618213