MCPcopy Create free account
hub / github.com/dask/dask / test_series_round

Function test_series_round

dask/dataframe/tests/test_dataframe.py:1979–1982  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1977
1978
1979def test_series_round():
1980 ps = pd.Series([1.123, 2.123, 3.123, 1.234, 2.234, 3.234], name="a")
1981 s = dd.from_pandas(ps, npartitions=3)
1982 assert_eq(s.round(), ps.round())
1983
1984
1985def test_repartition():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
roundMethod · 0.45

Tested by

no test coverage detected