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 642734e commit dea15deCopy full SHA for dea15de
pandas/tests/indexes/test_old_base.py
@@ -365,7 +365,8 @@ def test_argsort(self, index):
365
tm.assert_numpy_array_equal(result, expected, check_dtype=False)
366
367
def test_numpy_argsort(self, index):
368
-
+ if any(isinstance(x, str) for x in index) and any(isinstance(x, int) for x in index):
369
+ pytest.skip("Mixed-type Index (int & str) not sortable")
370
result = np.argsort(index)
371
expected = index.argsort()
372
tm.assert_numpy_array_equal(result, expected)
0 commit comments