We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5aa95 commit 2fcd179Copy full SHA for 2fcd179
pandas/tests/base/test_misc.py
@@ -94,9 +94,9 @@ def test_memory_usage(index_or_series_memory_obj):
94
95
def _is_object_dtype(obj):
96
if isinstance(obj, pd.MultiIndex):
97
- return any(is_object_dtype(level) for level in obj.levels)
+ return any(_is_object_dtype(level) for level in obj.levels)
98
elif isinstance(obj.dtype, pd.CategoricalDtype):
99
- return is_object_dtype(obj.dtype.categories)
+ return _is_object_dtype(obj.dtype.categories)
100
elif isinstance(obj.dtype, pd.StringDtype):
101
return obj.dtype.storage == "python"
102
return is_object_dtype(obj)
0 commit comments