Skip to content

Commit 32ceb4a

Browse files
haffarafatslow
andauthored
DOC: fix Raises TypeError if any kind of string dtype is passed in (#59113)
Co-authored-by: fatslow <[email protected]>
1 parent f28fe5a commit 32ceb4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/frame.py

+1
Original file line numberDiff line numberDiff line change
@@ -4782,6 +4782,7 @@ def select_dtypes(self, include=None, exclude=None) -> DataFrame:
47824782
ValueError
47834783
* If both of ``include`` and ``exclude`` are empty
47844784
* If ``include`` and ``exclude`` have overlapping elements
4785+
TypeError
47854786
* If any kind of string dtype is passed in.
47864787
47874788
See Also

0 commit comments

Comments
 (0)