File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/pandas_profiling/model Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def chi_square(
51
51
values : Optional [np .ndarray ] = None , histogram : Optional [np .ndarray ] = None
52
52
) -> dict :
53
53
if histogram is None :
54
- bins = bins = np .histogram_bin_edges (values , bins = ' auto' )
54
+ bins = bins = np .histogram_bin_edges (values , bins = " auto" )
55
55
histogram , _ = np .histogram (values , bins = bins )
56
56
return dict (chisquare (histogram )._asdict ())
57
57
Original file line number Diff line number Diff line change 5
5
Error for series with large integers.
6
6
"""
7
7
import fnmatch
8
+
8
9
import pandas as pd
10
+
9
11
from pandas_profiling import ProfileReport
10
12
13
+
11
14
def test_issue915 ():
12
15
df = pd .DataFrame ({"col" : pd .Series ([716277643516076032 + i for i in range (100 )])})
13
16
df_profile = ProfileReport (df )
@@ -27,4 +30,4 @@ def test_with_value(n_extreme_obs):
27
30
28
31
test_with_value (5 )
29
32
test_with_value (100 )
30
- test_with_value (120 )
33
+ test_with_value (120 )
You can’t perform that action at this time.
0 commit comments