Home
last modified time | relevance | path

Searched refs:index_with_missing (Results 1 – 2 of 2) sorted by relevance

/dports/math/py-pandas/pandas-1.2.5/pandas/tests/indexes/
H A Dtest_common.py374 def test_sort_values_invalid_na_position(index_with_missing, na_position): argument
375 if isinstance(index_with_missing, (CategoricalIndex, MultiIndex)):
380 index_with_missing.sort_values(na_position=na_position)
384 def test_sort_values_with_missing(index_with_missing, na_position): argument
388 if isinstance(index_with_missing, (CategoricalIndex, MultiIndex)):
391 missing_count = np.sum(index_with_missing.isna())
392 not_na_vals = index_with_missing[index_with_missing.notna()].values
398 expected = type(index_with_missing)(sorted_values)
400 result = index_with_missing.sort_values(na_position=na_position)
/dports/math/py-pandas/pandas-1.2.5/pandas/
H A Dconftest.py471 def index_with_missing(request): function