-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
p0-bug-critical ☢Exception rasingException rasingsubmodule ⊂Periphery/subclassesPeriphery/subclassesto-fix ⌛In progressIn progress
Milestone
Description
Under new pandas 0.25.0, tqdm.pandas()
will cause ImportError probably due to the changes of Groupby
behaviour in pandas (https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.25.0.html). Full error message below. Issue is the same under Linux as well as macOS, tqdm version is '4.32.2'. Detail are here https://travis-ci.org/martinfleis/momepy/jobs/561121151/.
Traceback (most recent call last):
File "/Users/martin/anaconda3/envs/momepy37/lib/python3.7/site-packages/tqdm/_tqdm.py", line 613, in pandas
from pandas.core.groupby.groupby import DataFrameGroupBy, \
ImportError: cannot import name 'DataFrameGroupBy' from 'pandas.core.groupby.groupby' (/Users/martin/anaconda3/envs/momepy37/lib/python3.7/site-packages/pandas/core/groupby/groupby.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/martin/anaconda3/envs/momepy37/lib/python3.7/site-packages/tqdm/_tqdm.py", line 616, in pandas
from pandas.core.groupby import DataFrameGroupBy, \
ImportError: cannot import name 'PanelGroupBy' from 'pandas.core.groupby' (/Users/martin/anaconda3/envs/momepy37/lib/python3.7/site-packages/pandas/core/groupby/__init__.py)
will-holley, mariel-pettee, scribu, NazBen, mldangelo and 36 more
Metadata
Metadata
Assignees
Labels
p0-bug-critical ☢Exception rasingException rasingsubmodule ⊂Periphery/subclassesPeriphery/subclassesto-fix ⌛In progressIn progress