module documentation

Undocumented

Function test_stable_desc_argsort Indices respect relative order of a descending stable-sort
@pytest.mark.parametrize('obj, axis, expected', [([0, 0], -1, [0, 1]), ([0, 1, 0], -1, [1, 0, 2]), ([[0, 1], [1, 1]], 0, [[1, 0], [0, 1]]), ([[0, 1], [1, 1]], 1, [[1, 0], [0, 1]])])
def test_stable_desc_argsort(obj, axis, expected): (source)

Indices respect relative order of a descending stable-sort

See https://github.com/numpy/numpy/issues/20778