(x)
| 22 | |
| 23 | |
| 24 | def is_pyarrow_string_index(x) -> bool: |
| 25 | if isinstance(x, pd.MultiIndex): |
| 26 | return any(is_pyarrow_string_index(level) for level in x.levels) |
| 27 | return isinstance(x, pd.Index) and is_pyarrow_string_dtype(x.dtype) |
| 28 | |
| 29 | |
| 30 | def is_object_string_index(x) -> bool: |
nothing calls this directly
no test coverage detected