@@ -143,14 +143,14 @@ def ensure_python_int(value: int | np.integer) -> int:
143
143
144
144
145
145
def classes (* klasses ) -> Callable :
146
- """evaluate if the tipo is a subclass of the klasses"""
146
+ """Evaluate if the tipo is a subclass of the klasses. """
147
147
return lambda tipo : issubclass (tipo , klasses )
148
148
149
149
150
150
def classes_and_not_datetimelike (* klasses ) -> Callable :
151
151
"""
152
- evaluate if the tipo is a subclass of the klasses
153
- and not a datetimelike
152
+ Evaluate if the tipo is a subclass of the klasses
153
+ and not a datetimelike.
154
154
"""
155
155
return lambda tipo : (
156
156
issubclass (tipo , klasses )
@@ -674,7 +674,7 @@ def is_integer_dtype(arr_or_dtype) -> bool:
674
674
"""
675
675
Check whether the provided array or dtype is of an integer dtype.
676
676
677
- Unlike in `in_any_int_dtype `, timedelta64 instances will return False.
677
+ Unlike in `is_any_int_dtype `, timedelta64 instances will return False.
678
678
679
679
The nullable Integer dtypes (e.g. pandas.Int64Dtype) are also considered
680
680
as integer by this function.
@@ -726,7 +726,7 @@ def is_signed_integer_dtype(arr_or_dtype) -> bool:
726
726
"""
727
727
Check whether the provided array or dtype is of a signed integer dtype.
728
728
729
- Unlike in `in_any_int_dtype `, timedelta64 instances will return False.
729
+ Unlike in `is_any_int_dtype `, timedelta64 instances will return False.
730
730
731
731
The nullable Integer dtypes (e.g. pandas.Int64Dtype) are also considered
732
732
as integer by this function.
@@ -1521,7 +1521,7 @@ def is_complex_dtype(arr_or_dtype) -> bool:
1521
1521
1522
1522
def _is_dtype (arr_or_dtype , condition ) -> bool :
1523
1523
"""
1524
- Return a boolean if the condition is satisfied for the arr_or_dtype.
1524
+ Return true if the condition is satisfied for the arr_or_dtype.
1525
1525
1526
1526
Parameters
1527
1527
----------
@@ -1580,7 +1580,7 @@ def get_dtype(arr_or_dtype) -> DtypeObj:
1580
1580
1581
1581
def _is_dtype_type (arr_or_dtype , condition ) -> bool :
1582
1582
"""
1583
- Return a boolean if the condition is satisfied for the arr_or_dtype.
1583
+ Return true if the condition is satisfied for the arr_or_dtype.
1584
1584
1585
1585
Parameters
1586
1586
----------
0 commit comments