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 628493e commit 78cfb30Copy full SHA for 78cfb30
src/pandas_profiling/model/summary_algorithms.py
@@ -51,7 +51,7 @@ def chi_square(
51
values: Optional[np.ndarray] = None, histogram: Optional[np.ndarray] = None
52
) -> dict:
53
if histogram is None:
54
- bins = bins = np.histogram_bin_edges(values, bins="auto")
+ bins = np.histogram_bin_edges(values, bins="auto")
55
histogram, _ = np.histogram(values, bins=bins)
56
return dict(chisquare(histogram)._asdict())
57
0 commit comments