BUG: failed to aggregate #44119
Labels
Apply
Apply, Aggregate, Transform, Map
Bug
Duplicate Report
Duplicate issue or pull request
Groupby
Nested Data
Data where the values are collections (lists, sets, dicts, objects, etc.).
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the master branch of pandas.
Reproducible Example
Issue Description
ValueError: could not broadcast input array from shape (7,4) into shape (7,)
Expected Behavior
expect something like this:
1081156,[37.433964 37.546708],[-121.886765 -122.069067]
Installed Versions
pandas : 1.3.4
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.4
setuptools : 58.0.4
Cython : None
pytest : None
hypothesis : None
show more (open the raw output data in a text editor) ...
tabulate : None
xarray : 0.19.0
xlrd : None
xlwt : None
numba : None
The text was updated successfully, but these errors were encountered: