Skip to content

Commit 707640c

Browse files
DOC: Fix EX02 and SA01 in DataFrame.select_dtypes (#34362)
1 parent 4346553 commit 707640c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/core/frame.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -3421,6 +3421,10 @@ def select_dtypes(self, include=None, exclude=None) -> "DataFrame":
34213421
* If ``include`` and ``exclude`` have overlapping elements
34223422
* If any kind of string dtype is passed in.
34233423
3424+
See Also
3425+
--------
3426+
DataFrame.dtypes: Return Series with the data type of each column.
3427+
34243428
Notes
34253429
-----
34263430
* To select all *numeric* types, use ``np.number`` or ``'number'``
@@ -3468,7 +3472,7 @@ def select_dtypes(self, include=None, exclude=None) -> "DataFrame":
34683472
4 1.0
34693473
5 2.0
34703474
3471-
>>> df.select_dtypes(exclude=['int'])
3475+
>>> df.select_dtypes(exclude=['int64'])
34723476
b c
34733477
0 True 1.0
34743478
1 False 2.0

0 commit comments

Comments
 (0)