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 e689665 commit 6a5409eCopy full SHA for 6a5409e
src/pandas_profiling/model/summary_algorithms.py
@@ -41,8 +41,8 @@ def histogram_compute(
41
42
max_bins = config.plot.histogram.max_bins
43
if bins_arg == "auto" and len(stats[name][1]) > max_bins:
44
- bins_arg = np.histogram_bin_edges(finite_values, bins=max_bins)
45
- stats[name] = np.histogram(finite_values, bins=bins_arg, weights=None)
+ bins = np.histogram_bin_edges(finite_values, bins=max_bins)
+ stats[name] = np.histogram(finite_values, bins=bins, weights=None)
46
47
return stats
48
0 commit comments