We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24fc4d9 commit e5dbee3Copy full SHA for e5dbee3
flexmeasures/data/models/reporting/pandas_reporter.py
@@ -355,6 +355,8 @@ def _any_empty(objs):
355
)
356
except TypeError as exc:
357
if "unhashable type" in str(exc) and method == "sum":
358
- raise TypeError("Maybe use 'add' instead of 'sum'") from exc
+ raise TypeError(
359
+ "Consider using 'add' instead of 'sum' as the transformation method."
360
+ ) from exc
361
362
previous_df = df_output
0 commit comments