File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -597,10 +597,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
597
597
pandas.api.types.is_datetime64_dtype \
598
598
pandas.api.types.is_datetime64_ns_dtype \
599
599
pandas.api.types.is_datetime64tz_dtype \
600
- pandas.api.types.is_dict_like \
601
- pandas.api.types.is_file_like \
602
600
pandas.api.types.is_float_dtype \
603
- pandas.api.types.is_hashable \
604
601
pandas.api.types.is_int64_dtype \
605
602
pandas.api.types.is_integer_dtype \
606
603
pandas.api.types.is_interval_dtype \
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ def is_file_like(obj) -> bool:
119
119
Examples
120
120
--------
121
121
>>> import io
122
+ >>> from pandas.api.types import is_file_like
122
123
>>> buffer = io.StringIO("data")
123
124
>>> is_file_like(buffer)
124
125
True
@@ -275,6 +276,7 @@ def is_dict_like(obj) -> bool:
275
276
276
277
Examples
277
278
--------
279
+ >>> from pandas.api.types import is_dict_like
278
280
>>> is_dict_like({1: 2})
279
281
True
280
282
>>> is_dict_like([1, 2, 3])
@@ -336,6 +338,7 @@ def is_hashable(obj) -> bool:
336
338
Examples
337
339
--------
338
340
>>> import collections
341
+ >>> from pandas.api.types import is_hashable
339
342
>>> a = ([],)
340
343
>>> isinstance(a, collections.abc.Hashable)
341
344
True
You can’t perform that action at this time.
0 commit comments