Skip to content

Commit 3d2fcfd

Browse files
committed
update basics doc
1 parent c5ad86a commit 3d2fcfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/user_guide/basics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2372,11 +2372,11 @@ integers:
23722372
23732373
df.select_dtypes(include=["number", "bool"], exclude=["unsignedinteger"])
23742374
2375-
To select string columns you must use the ``object`` dtype:
2375+
To select string columns include ``str``:
23762376

23772377
.. ipython:: python
23782378
2379-
df.select_dtypes(include=["object"])
2379+
df.select_dtypes(include=[str])
23802380
23812381
To see all the child dtypes of a generic ``dtype`` like ``numpy.number`` you
23822382
can define a function that returns a tree of child dtypes:

0 commit comments

Comments
 (0)