You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following functions were not catching
the TypeError raised by _get_dtype:
1) is_string_dtype
2) is_string_like_dtype
3) is_timedelta64_ns_dtype
Thus, when "None" was passed in, an
Exception was raised instead of returning
False, as other functions did.
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.20.0.txt
+1
Original file line number
Diff line number
Diff line change
@@ -1068,6 +1068,7 @@ Conversion
1068
1068
- Bug in ``DataFrame.fillna()`` where the argument ``downcast`` was ignored when fillna value was of type ``dict`` (:issue:`15277`)
1069
1069
- Bug in ``.asfreq()``, where frequency was not set for empty ``Series`` (:issue:`14320`)
1070
1070
- Bug in ``DataFrame`` construction with nulls and datetimes in a list-like (:issue:`15869`)
1071
+
- Bug in ``is_string_dtype``, ``is_timedelta64_ns_dtype``, and ``is_string_like_dtype`` in which an error was raised when ``None`` was passed in (:issue:`15941`)
0 commit comments