@@ -39,7 +39,7 @@ def allow_na_ops(obj: Any) -> bool:
3939 return not is_bool_index and obj ._can_hold_na
4040
4141
42- def multiply_values (obj ):
42+ def repeat_values (obj ):
4343 """
4444 Repeat values so that the previous values are ordered (increasing)
4545 by number of occurrences
@@ -223,7 +223,7 @@ def test_ndarray_compat_properties(self, index_or_series_obj):
223223 assert Series ([1 ]).item () == 1
224224
225225 def test_unique (self , index_or_series_obj ):
226- obj = multiply_values (index_or_series_obj )
226+ obj = repeat_values (index_or_series_obj )
227227 result = obj .unique ()
228228
229229 # dict.fromkeys preserves the order
@@ -242,12 +242,12 @@ def test_unique(self, index_or_series_obj):
242242 tm .assert_numpy_array_equal (result , expected )
243243
244244 def test_nunique (self , index_or_series_obj ):
245- obj = multiply_values (index_or_series_obj )
245+ obj = repeat_values (index_or_series_obj )
246246 result = obj .nunique (dropna = False )
247247 assert result == len (obj .unique ())
248248
249249 def test_value_counts (self , index_or_series_obj ):
250- obj = multiply_values (index_or_series_obj )
250+ obj = repeat_values (index_or_series_obj )
251251 result = obj .value_counts ()
252252
253253 counter = collections .Counter (obj )
0 commit comments