File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -601,12 +601,9 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
601
601
pandas.api.types.is_int64_dtype \
602
602
pandas.api.types.is_integer_dtype \
603
603
pandas.api.types.is_interval_dtype \
604
- pandas.api.types.is_named_tuple \
605
604
pandas.api.types.is_numeric_dtype \
606
605
pandas.api.types.is_object_dtype \
607
606
pandas.api.types.is_period_dtype \
608
- pandas.api.types.is_re \
609
- pandas.api.types.is_re_compilable \
610
607
pandas.api.types.is_signed_integer_dtype \
611
608
pandas.api.types.is_sparse \
612
609
pandas.api.types.is_string_dtype \
Original file line number Diff line number Diff line change @@ -147,6 +147,8 @@ def is_re(obj) -> bool:
147
147
148
148
Examples
149
149
--------
150
+ >>> from pandas.api.types import is_re
151
+ >>> import re
150
152
>>> is_re(re.compile(".*"))
151
153
True
152
154
>>> is_re("foo")
@@ -170,6 +172,7 @@ def is_re_compilable(obj) -> bool:
170
172
171
173
Examples
172
174
--------
175
+ >>> from pandas.api.types import is_re_compilable
173
176
>>> is_re_compilable(".*")
174
177
True
175
178
>>> is_re_compilable(1)
@@ -310,6 +313,7 @@ def is_named_tuple(obj) -> bool:
310
313
Examples
311
314
--------
312
315
>>> from collections import namedtuple
316
+ >>> from pandas.api.types import is_named_tuple
313
317
>>> Point = namedtuple("Point", ["x", "y"])
314
318
>>> p = Point(1, 2)
315
319
>>>
You can’t perform that action at this time.
0 commit comments