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
I would have expected the last invocation to yield a value of a tuple of length 1. When doing variable groupby segments with sequences of varying length it seems important to keep the dimensions of the value returned.
What did you expect to happen?
I would have expected the last value (in multiple scalar groupby) to yield a (value,) instead.
What happened?
When executing the following code:
I would have expected the last invocation to yield a
value
of a tuple of length 1. When doing variable groupby segments with sequences of varying length it seems important to keep the dimensions of the value returned.What did you expect to happen?
I would have expected the last
value
(in multiple scalar groupby) to yield a(value,)
instead.Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
No response
Environment
INSTALLED VERSIONS
commit: None
python: 3.11.7 (main, Feb 13 2024, 19:40:15) [GCC 12.3.0]
python-bits: 64
OS: Linux
OS-release: 6.1.0-33-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.14.0
libnetcdf: 4.9.2
xarray: 2025.3.1
pandas: 2.0.1
numpy: 1.24.4
scipy: 1.10.1
netCDF4: 1.6.3
pydap: None
h5netcdf: None
h5py: None
zarr: None
cftime: 1.6.2
nc_time_axis: None
iris: None
bottleneck: 1.3.7
dask: 2023.3.2
distributed: None
matplotlib: 3.7.1
cartopy: None
seaborn: 0.13.2
numbagg: None
fsspec: None
cupy: None
pint: 0.23
sparse: None
flox: None
numpy_groupies: None
setuptools: 69.1.0
pip: 25.0.1
conda: None
pytest: 8.3.2
mypy: None
IPython: 8.21.0
sphinx: 7.2.6
None
The text was updated successfully, but these errors were encountered: