Closed jfhawkin closed 11 months ago
geosnap\analyze\dynamics.py uses for i, cluster in gdf[cluster_col].astype(int).iteritems(): at line 345.
for i, cluster in gdf[cluster_col].astype(int).iteritems():
This seems to be a simple deprecation fix. Change it to for i, cluster in gdf[cluster_col].astype(int).items(): based on https://pandas.pydata.org/pandas-docs/version/1.5/reference/api/pandas.Series.iteritems.html
for i, cluster in gdf[cluster_col].astype(int).items():
nice, thanks
resolved in v.0.12.0
geosnap\analyze\dynamics.py uses
for i, cluster in gdf[cluster_col].astype(int).iteritems():
at line 345.This seems to be a simple deprecation fix. Change it to
for i, cluster in gdf[cluster_col].astype(int).items():
based on https://pandas.pydata.org/pandas-docs/version/1.5/reference/api/pandas.Series.iteritems.html