Esri / street-data-processing-tools

ArcGIS geoprocessing toolbox containing tools to create and build a network dataset from commercial street data.
Apache License 2.0
36 stars 16 forks source link

Fix pandas groupby #57

Closed mmorang closed 6 months ago

mmorang commented 6 months ago

Newer versions of ArcGIS Pro come with a newer version of the pandas package in the default Python environment. This newer version of pandas alters the values returned when iterating over a groupby object so that instead of the group index value, it returns a tuple. This was causing errors (see https://github.com/Esri/street-data-processing-tools/issues/56). Update the code so it works when the returned values are normal types OR tuples.