Workaround: pandas is_scalar doesn't recognize Categorical nulls for some reason.
(value: object)
| 28 | |
| 29 | |
| 30 | def is_scalar(value: object) -> bool: |
| 31 | """Workaround: pandas is_scalar doesn't recognize Categorical nulls for some reason.""" |
| 32 | return value is pd.CategoricalDtype.na_value or pd_is_scalar(value) |
| 33 | |
| 34 | |
| 35 | def implements(numpy_function_or_name: Callable | str) -> Callable: |
no outgoing calls
no test coverage detected
searching dependent graphs…