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

Function test_series_round

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
roundMethod · 0.45

Tested by

no test coverage detected