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/7104#issuecomment-1261998233,https://api.github.com/repos/pydata/xarray/issues/7104,1261998233,IC_kwDOAMm_X85LOJCZ,4160723,2022-09-29T09:12:54Z,2022-09-29T09:12:54Z,MEMBER,"> Maybe we should check `pandas.MultiIndex.is_unique` in `Dataset.unstack()` Better to check this in `PandasMultiIndex.unstack()` actually.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1390228572 https://github.com/pydata/xarray/issues/7104#issuecomment-1261996160,https://api.github.com/repos/pydata/xarray/issues/7104,1261996160,IC_kwDOAMm_X85LOIiA,4160723,2022-09-29T09:11:05Z,2022-09-29T09:11:05Z,MEMBER,"Thanks for the report @znichollscr. Maybe we should check `pandas.MultiIndex.is_unique` in `Dataset.unstack()` like in `Dataset.from_dataframe()`? ```python df = ds.drop_vars(""lat"").to_dataframe() xr.Dataset.from_dataframe(df) # ValueError: cannot convert a DataFrame with a non-unique MultiIndex into xarray ``` ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1390228572