@@ -162,7 +162,7 @@ def is_object_dtype(arr_or_dtype) -> bool:
162
162
163
163
Parameters
164
164
----------
165
- arr_or_dtype : array-like
165
+ arr_or_dtype : array-like or dtype
166
166
The array-like or dtype to check.
167
167
168
168
Returns
@@ -316,7 +316,7 @@ def is_datetime64_dtype(arr_or_dtype) -> bool:
316
316
317
317
Parameters
318
318
----------
319
- arr_or_dtype : array-like
319
+ arr_or_dtype : array-like or dtype
320
320
The array-like or dtype to check.
321
321
322
322
Returns
@@ -349,7 +349,7 @@ def is_datetime64tz_dtype(arr_or_dtype) -> bool:
349
349
350
350
Parameters
351
351
----------
352
- arr_or_dtype : array-like
352
+ arr_or_dtype : array-like or dtype
353
353
The array-like or dtype to check.
354
354
355
355
Returns
@@ -390,7 +390,7 @@ def is_timedelta64_dtype(arr_or_dtype) -> bool:
390
390
391
391
Parameters
392
392
----------
393
- arr_or_dtype : array-like
393
+ arr_or_dtype : array-like or dtype
394
394
The array-like or dtype to check.
395
395
396
396
Returns
@@ -424,7 +424,7 @@ def is_period_dtype(arr_or_dtype) -> bool:
424
424
425
425
Parameters
426
426
----------
427
- arr_or_dtype : array-like
427
+ arr_or_dtype : array-like or dtype
428
428
The array-like or dtype to check.
429
429
430
430
Returns
@@ -460,7 +460,7 @@ def is_interval_dtype(arr_or_dtype) -> bool:
460
460
461
461
Parameters
462
462
----------
463
- arr_or_dtype : array-like
463
+ arr_or_dtype : array-like or dtype
464
464
The array-like or dtype to check.
465
465
466
466
Returns
@@ -498,7 +498,7 @@ def is_categorical_dtype(arr_or_dtype) -> bool:
498
498
499
499
Parameters
500
500
----------
501
- arr_or_dtype : array-like
501
+ arr_or_dtype : array-like or dtype
502
502
The array-like or dtype to check.
503
503
504
504
Returns
@@ -534,7 +534,7 @@ def is_string_dtype(arr_or_dtype) -> bool:
534
534
535
535
Parameters
536
536
----------
537
- arr_or_dtype : array-like
537
+ arr_or_dtype : array-like or dtype
538
538
The array or dtype to check.
539
539
540
540
Returns
@@ -635,7 +635,7 @@ def is_any_int_dtype(arr_or_dtype) -> bool:
635
635
636
636
Parameters
637
637
----------
638
- arr_or_dtype : array-like
638
+ arr_or_dtype : array-like or dtype
639
639
The array or dtype to check.
640
640
641
641
Returns
@@ -680,7 +680,7 @@ def is_integer_dtype(arr_or_dtype) -> bool:
680
680
681
681
Parameters
682
682
----------
683
- arr_or_dtype : array-like
683
+ arr_or_dtype : array-like or dtype
684
684
The array or dtype to check.
685
685
686
686
Returns
@@ -732,7 +732,7 @@ def is_signed_integer_dtype(arr_or_dtype) -> bool:
732
732
733
733
Parameters
734
734
----------
735
- arr_or_dtype : array-like
735
+ arr_or_dtype : array-like or dtype
736
736
The array or dtype to check.
737
737
738
738
Returns
@@ -784,7 +784,7 @@ def is_unsigned_integer_dtype(arr_or_dtype) -> bool:
784
784
785
785
Parameters
786
786
----------
787
- arr_or_dtype : array-like
787
+ arr_or_dtype : array-like or dtype
788
788
The array or dtype to check.
789
789
790
790
Returns
@@ -828,7 +828,7 @@ def is_int64_dtype(arr_or_dtype) -> bool:
828
828
829
829
Parameters
830
830
----------
831
- arr_or_dtype : array-like
831
+ arr_or_dtype : array-like or dtype
832
832
The array or dtype to check.
833
833
834
834
Returns
@@ -878,7 +878,7 @@ def is_datetime64_any_dtype(arr_or_dtype) -> bool:
878
878
879
879
Parameters
880
880
----------
881
- arr_or_dtype : array-like
881
+ arr_or_dtype : array-like or dtype
882
882
The array or dtype to check.
883
883
884
884
Returns
@@ -920,7 +920,7 @@ def is_datetime64_ns_dtype(arr_or_dtype) -> bool:
920
920
921
921
Parameters
922
922
----------
923
- arr_or_dtype : array-like
923
+ arr_or_dtype : array-like or dtype
924
924
The array or dtype to check.
925
925
926
926
Returns
@@ -970,7 +970,7 @@ def is_timedelta64_ns_dtype(arr_or_dtype) -> bool:
970
970
971
971
Parameters
972
972
----------
973
- arr_or_dtype : array-like
973
+ arr_or_dtype : array-like or dtype
974
974
The array or dtype to check.
975
975
976
976
Returns
@@ -999,7 +999,7 @@ def is_datetime_or_timedelta_dtype(arr_or_dtype) -> bool:
999
999
1000
1000
Parameters
1001
1001
----------
1002
- arr_or_dtype : array-like
1002
+ arr_or_dtype : array-like or dtype
1003
1003
The array or dtype to check.
1004
1004
1005
1005
Returns
@@ -1039,7 +1039,7 @@ def is_numeric_v_string_like(a: ArrayLike, b):
1039
1039
1040
1040
Parameters
1041
1041
----------
1042
- a : array-like
1042
+ a : array-like, scalar
1043
1043
The first object to check.
1044
1044
b : array-like, scalar
1045
1045
The second object to check.
@@ -1146,7 +1146,7 @@ def needs_i8_conversion(arr_or_dtype) -> bool:
1146
1146
1147
1147
Parameters
1148
1148
----------
1149
- arr_or_dtype : array-like
1149
+ arr_or_dtype : array-like or dtype
1150
1150
The array or dtype to check.
1151
1151
1152
1152
Returns
@@ -1190,7 +1190,7 @@ def is_numeric_dtype(arr_or_dtype) -> bool:
1190
1190
1191
1191
Parameters
1192
1192
----------
1193
- arr_or_dtype : array-like
1193
+ arr_or_dtype : array-like or dtype
1194
1194
The array or dtype to check.
1195
1195
1196
1196
Returns
@@ -1234,7 +1234,7 @@ def is_float_dtype(arr_or_dtype) -> bool:
1234
1234
1235
1235
Parameters
1236
1236
----------
1237
- arr_or_dtype : array-like
1237
+ arr_or_dtype : array-like or dtype
1238
1238
The array or dtype to check.
1239
1239
1240
1240
Returns
@@ -1266,7 +1266,7 @@ def is_bool_dtype(arr_or_dtype) -> bool:
1266
1266
1267
1267
Parameters
1268
1268
----------
1269
- arr_or_dtype : array-like
1269
+ arr_or_dtype : array-like or dtype
1270
1270
The array or dtype to check.
1271
1271
1272
1272
Returns
@@ -1337,7 +1337,7 @@ def is_extension_type(arr) -> bool:
1337
1337
1338
1338
Parameters
1339
1339
----------
1340
- arr : array-like
1340
+ arr : array-like, scalar
1341
1341
The array-like to check.
1342
1342
1343
1343
Returns
@@ -1489,7 +1489,7 @@ def is_complex_dtype(arr_or_dtype) -> bool:
1489
1489
1490
1490
Parameters
1491
1491
----------
1492
- arr_or_dtype : array-like
1492
+ arr_or_dtype : array-like or dtype
1493
1493
The array or dtype to check.
1494
1494
1495
1495
Returns
@@ -1546,7 +1546,7 @@ def get_dtype(arr_or_dtype) -> DtypeObj:
1546
1546
1547
1547
Parameters
1548
1548
----------
1549
- arr_or_dtype : array-like
1549
+ arr_or_dtype : array-like or dtype
1550
1550
The array-like or dtype object whose dtype we want to extract.
1551
1551
1552
1552
Returns
@@ -1580,7 +1580,7 @@ def _is_dtype_type(arr_or_dtype, condition) -> bool:
1580
1580
1581
1581
Parameters
1582
1582
----------
1583
- arr_or_dtype : array-like
1583
+ arr_or_dtype : array-like or dtype
1584
1584
The array-like or dtype object whose dtype we want to extract.
1585
1585
condition : callable[Union[np.dtype, ExtensionDtypeType]]
1586
1586
0 commit comments