We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea6e3d7 commit beec918Copy full SHA for beec918
_delphi_utils_python/delphi_utils/geomap.py
@@ -401,7 +401,7 @@ def replace_geocode(
401
df.drop("weight", axis=1, inplace=True)
402
403
if not date_col is None:
404
- df = df.groupby([date_col, new_col]).sum().reset_index()
+ df = df.groupby([date_col, new_col]).sum(numeric_only=True).reset_index()
405
else:
406
df = df.groupby([new_col]).sum().reset_index()
407
return df
0 commit comments