ydataai / ydata-profiling

1 Line of code data quality profiling & exploratory data analysis for Pandas and Spark DataFrames.
https://docs.profiling.ydata.ai
MIT License
12.22k stars 1.65k forks source link

fix: Use correct value in ConstantAlert template #1574

Closed AlpAribal closed 1 month ago

AlpAribal commented 2 months ago

As part of #1132, the calculation of summary["mode"] was removed (here). However, the template still refers to this value and results in a less helpful error message as below:

image

This PR changes the template so that the correct value is used:

image