Skip to content

Commit 9bcc9ce

Browse files
Merge pull request #342 from cmougan/master
update docs #338
2 parents 02a20aa + 14eda92 commit 9bcc9ce

File tree

1 file changed

+24
-17
lines changed

1 file changed

+24
-17
lines changed

category_encoders/quantile_encoder.py

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -310,23 +310,30 @@ class SummaryEncoder(BaseEstimator, util.TransformerWithTargetMixin):
310310
>>> print(numeric_dataset.info())
311311
<class 'pandas.core.frame.DataFrame'>
312312
RangeIndex: 506 entries, 0 to 505
313-
Data columns (total 13 columns):
314-
CRIM 506 non-null float64
315-
ZN 506 non-null float64
316-
INDUS 506 non-null float64
317-
CHAS 506 non-null float64
318-
NOX 506 non-null float64
319-
RM 506 non-null float64
320-
AGE 506 non-null float64
321-
DIS 506 non-null float64
322-
RAD 506 non-null float64
323-
TAX 506 non-null float64
324-
PTRATIO 506 non-null float64
325-
B 506 non-null float64
326-
LSTAT 506 non-null float64
327-
dtypes: float64(13)
328-
memory usage: 51.5 KB
329-
None
313+
Data columns (total 19 columns):
314+
# Column Non-Null Count Dtype
315+
--- ------ -------------- -----
316+
0 CRIM 506 non-null float64
317+
1 ZN 506 non-null float64
318+
2 INDUS 506 non-null float64
319+
3 CHAS 506 non-null float64
320+
4 NOX 506 non-null float64
321+
5 RM 506 non-null float64
322+
6 AGE 506 non-null float64
323+
7 DIS 506 non-null float64
324+
8 RAD 506 non-null float64
325+
9 TAX 506 non-null float64
326+
10 PTRATIO 506 non-null float64
327+
11 B 506 non-null float64
328+
12 LSTAT 506 non-null float64
329+
13 CHAS_25 506 non-null float64
330+
14 RAD_25 506 non-null float64
331+
15 CHAS_50 506 non-null float64
332+
16 RAD_50 506 non-null float64
333+
17 CHAS_75 506 non-null float64
334+
18 RAD_75 506 non-null float64
335+
dtypes: float64(19)
336+
memory usage: 75.2 KB
330337
331338
References
332339
----------

0 commit comments

Comments
 (0)