You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening your first issue here at xarray! Be sure to follow the issue template!
If you have an idea for a solution, we would really welcome a Pull Request with proposed changes.
See the Contributing Guide for more.
It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better.
Thank you!
carynbear
changed the title
groupby (multi-index level) not working correctly on a multi-indexed DataArray or DataSet
reappeared: groupby (multi-index level) not working correctly on a multi-indexed DataArray or DataSet
Aug 20, 2024
carynbear
changed the title
reappeared: groupby (multi-index level) not working correctly on a multi-indexed DataArray or DataSet
reappeared: groupby on multiindex level not working correctly
Aug 20, 2024
carynbear
changed the title
reappeared: groupby on multiindex level not working correctly
reappeared: groupby on multi-index level is grouping by the multi-index
Aug 20, 2024
carynbear
changed the title
reappeared: groupby on multi-index level is grouping by the multi-index
groupby on multi-index level is grouping by the multi-index (reappearance of #6836)
Aug 20, 2024
What happened?
This is the same issue as #6836
Given a multiindex "x" --> ("one", "two")
Groupby on a multi-index level ("one") is grouping by the multi-index ("x") instead of level.
What did you expect to happen?
Should return
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment
INSTALLED VERSIONS
commit: None
python: 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110]
python-bits: 64
OS: Linux
OS-release: 5.10.0-30-cloud-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: C.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: None
libnetcdf: None
xarray: 2023.1.0
pandas: 2.0.3
numpy: 1.24.4
scipy: 1.9.3
netCDF4: None
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: None
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: None
distributed: None
matplotlib: 3.7.5
cartopy: None
seaborn: None
numbagg: None
fsspec: None
cupy: None
pint: None
sparse: None
flox: None
numpy_groupies: None
setuptools: None
pip: None
conda: None
pytest: None
mypy: None
IPython: 8.12.3
sphinx: None
The text was updated successfully, but these errors were encountered: