/dports/graphics/py-geopandas/geopandas-0.10.2/geopandas/tests/ |
H A D | test_extension_array.py | 113 def data_for_sorting(): function 460 def test_argsort(self, data_for_sorting): argument 461 result = pd.Series(data_for_sorting).argsort() 473 def test_sort_values(self, data_for_sorting, ascending): argument 474 ser = pd.Series(data_for_sorting) 495 def test_sort_values_frame(self, data_for_sorting, ascending): argument 496 df = pd.DataFrame({"A": [1, 2, 1], "B": data_for_sorting}) 499 {"A": [1, 1, 2], "B": data_for_sorting.take([2, 0, 1])}, index=[2, 0, 1] 504 def test_searchsorted(self, data_for_sorting, as_series): argument
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/extension/base/ |
H A D | methods.py | 60 def test_argsort(self, data_for_sorting): argument 61 result = pd.Series(data_for_sorting).argsort() 82 assert data_for_sorting.argmax() == 1 83 assert data_for_sorting.argmin() == 2 86 data = data_for_sorting.take([2, 0, 0, 1, 1, 2]) 124 ser = pd.Series(data_for_sorting) 149 def test_sort_values_frame(self, data_for_sorting, ascending): argument 150 df = pd.DataFrame({"A": [1, 2, 1], "B": data_for_sorting}) 374 def test_searchsorted(self, data_for_sorting, as_series): argument 375 b, c, a = data_for_sorting [all …]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/extension/ |
H A D | test_boolean.py | 50 def data_for_sorting(dtype): 211 def test_searchsorted(self, data_for_sorting, as_series): 213 data_for_sorting = pd.array([True, False], dtype="boolean") 214 b, a = data_for_sorting 215 arr = type(data_for_sorting)._from_sequence([a, b]) 232 assert data_for_sorting.searchsorted(a, sorter=sorter) == 0 242 def test_argmin_argmax(self, data_for_sorting, data_missing_for_sorting): 246 assert data_for_sorting.argmax() == 0 247 assert data_for_sorting.argmin() == 2 250 data = data_for_sorting.take([2, 0, 0, 1, 1, 2])
|
H A D | test_categorical.py | 61 def data_for_sorting(): function 177 def test_searchsorted(self, data_for_sorting): argument 178 if not data_for_sorting.ordered:
|
H A D | test_numpy.py | 66 def data_for_sorting(allow_in_pandas, dtype): function 252 def test_searchsorted(self, data_for_sorting, as_series): argument 254 super().test_searchsorted(data_for_sorting, as_series)
|
H A D | conftest.py | 70 def data_for_sorting(): function
|
H A D | test_sparse.py | 62 def data_for_sorting(request): function 312 def test_searchsorted(self, data_for_sorting, as_series): argument 314 super().test_searchsorted(data_for_sorting, as_series)
|
H A D | test_interval.py | 51 def data_for_sorting(): function
|
H A D | test_period.py | 29 def data_for_sorting(dtype): function
|
H A D | test_string.py | 42 def data_for_sorting(dtype): function
|
H A D | test_datetime.py | 30 def data_for_sorting(dtype): function
|
H A D | test_floating.py | 58 def data_for_sorting(dtype):
|
H A D | test_integer.py | 73 def data_for_sorting(dtype): function
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/extension/json/ |
H A D | test_json.py | 42 def data_for_sorting(): 227 def test_argsort(self, data_for_sorting): 228 super().test_argsort(data_for_sorting) 234 def test_sort_values(self, data_for_sorting, ascending, sort_by_key): 235 super().test_sort_values(data_for_sorting, ascending, sort_by_key) 269 def test_searchsorted(self, data_for_sorting): 270 super().test_searchsorted(data_for_sorting)
|
/dports/devel/py-pint-pandas/Pint-Pandas-0.2/pint_pandas/testsuite/ |
H A D | test_pandas_interface.py | 87 def data_for_sorting(): function 326 def test_searchsorted(self, data_for_sorting, as_series): # noqa: F811 argument 327 b, c, a = data_for_sorting 328 arr = type(data_for_sorting)._from_sequence([a, b, c]) 348 assert data_for_sorting.searchsorted(a, sorter=sorter) == 0 385 def test_sort_values(self, data_for_sorting, ascending, sort_by_key): argument 386 ser = pd.Series(data_for_sorting)
|
/dports/science/py-veusz/veusz-veusz-3.3.1/veusz/plugins/ |
H A D | importplugin.py | 756 data_for_sorting = data.reshape((S[0]*S[1],S[2])) 757 ind = N.lexsort( [data_for_sorting[:,0], data_for_sorting[:,1]] ) 758 data_veusz = data_for_sorting[ind].reshape(S)[:,:,2]
|
/dports/math/py-pandas/pandas-1.2.5/pandas/tests/extension/decimal/ |
H A D | test_decimal.py | 36 def data_for_sorting(): function
|