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

Function test_join_series

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

Source from the content-addressed store, hash-verified

4891
4892
4893def test_join_series():
4894 df = pd.DataFrame({"x": [1, 2, 3, 4, 5, 6, 7, 8]})
4895 ddf = dd.from_pandas(df, npartitions=1)
4896 if PANDAS_GE_310:
4897 expected = df.join(df["x"], suffixes=("_", ""))
4898 else:
4899 expected = df.join(df["x"], lsuffix="_")
4900 expected_df = dd.from_pandas(expected, npartitions=1)
4901 actual_df = ddf.join(ddf["x"], lsuffix="_")
4902 assert_eq(actual_df, expected_df)
4903
4904
4905def test_assign_na_float_columns():

Callers

nothing calls this directly

Calls 2

joinMethod · 0.95
assert_eqFunction · 0.90

Tested by

no test coverage detected