Searched refs:index_with_missing (Results 1 – 2 of 2) sorted by relevance
374 def test_sort_values_invalid_na_position(index_with_missing, na_position): argument375 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): argument388 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()].values398 expected = type(index_with_missing)(sorted_values)400 result = index_with_missing.sort_values(na_position=na_position)
471 def index_with_missing(request): function