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.
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.