MCPcopy Index your code
hub / github.com/stumpy-dev/stumpy / test_stumped_A_B_join_df

Function test_stumped_A_B_join_df

tests/test_stumped.py:141–150  ·  view source on GitHub ↗
(T_A, T_B, dask_cluster)

Source from the content-addressed store, hash-verified

139@pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning")
140@pytest.mark.parametrize("T_A, T_B", test_data)
141def test_stumped_A_B_join_df(T_A, T_B, dask_cluster):
142 with Client(dask_cluster) as dask_client:
143 m = 3
144 ref_mp = naive.stump(T_A, m, T_B=T_B)
145 comp_mp = stumped(
146 dask_client, pd.Series(T_A), m, pd.Series(T_B), ignore_trivial=False
147 )
148 naive.replace_inf(ref_mp)
149 naive.replace_inf(comp_mp)
150 npt.assert_almost_equal(ref_mp, comp_mp)
151
152
153@pytest.mark.filterwarnings("ignore:A large number of values are smaller")

Callers

nothing calls this directly

Calls 1

stumpedFunction · 0.90

Tested by

no test coverage detected