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/3068#issuecomment-507455821,https://api.github.com/repos/pydata/xarray/issues/3068,507455821,MDEyOklzc3VlQ29tbWVudDUwNzQ1NTgyMQ==,881019,2019-07-01T23:03:12Z,2019-07-01T23:03:12Z,NONE,"FYI: @djhoese, you can inline code snippits using the [permanent](https://help.github.com/en/articles/creating-a-permanent-link-to-a-code-snippet) link to the source:
https://github.com/pydata/xarray/blob/e5bb647637063153a7feb750793d6fd8fb58dda8/xarray/core/variable.py#L1223","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,462859457
https://github.com/pydata/xarray/issues/2949#issuecomment-491103705,https://api.github.com/repos/pydata/xarray/issues/2949,491103705,MDEyOklzc3VlQ29tbWVudDQ5MTEwMzcwNQ==,881019,2019-05-09T23:36:37Z,2019-05-09T23:36:37Z,NONE,"..so you'd need to do:
```python
>>> series = array.to_series().copy(deep=False)
>>> series.index = series.index.copy(deep=False)
>>> series.index.name = 'shallow_copy'
>>> series.index.name
'shallow_copy'
>>> array.to_series().index.name
'forward_date'
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,442063346
https://github.com/pydata/xarray/issues/2949#issuecomment-491100027,https://api.github.com/repos/pydata/xarray/issues/2949,491100027,MDEyOklzc3VlQ29tbWVudDQ5MTEwMDAyNw==,881019,2019-05-09T23:15:43Z,2019-05-09T23:15:43Z,NONE,"Unfortunately a shallow copy of a pandas series doesn't shallow copy it's index (I think it should):
```python
>>> series = array.to_series().copy(deep=False)
>>> series.index.name = 'shallow_copy'
>>> array.to_series().index.name
'shallow_copy' # <--- I'd call this a pandas bug!
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,442063346
https://github.com/pydata/xarray/issues/2949#issuecomment-491062218,https://api.github.com/repos/pydata/xarray/issues/2949,491062218,MDEyOklzc3VlQ29tbWVudDQ5MTA2MjIxOA==,881019,2019-05-09T20:53:19Z,2019-05-09T21:00:07Z,NONE,"Agreed that we definitely don't want to copy the data! I haven't.put in a PR as I think we're a bit hamstrung by pandas' behaviour here so I'm not quite sure how to fix it (without copying the data).
I'm unlikely to get around to a PR in the near term as I'm swamped (and can put up with deep copying the index for now). From my digging about I think the proper fix should be in pandas such that a shallow copy doesn't return a reference to the original name.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,442063346