(binop)
| 2115 | ], |
| 2116 | ) |
| 2117 | def test_array_series_comp(binop): |
| 2118 | data = [1.0, 2.0, 3.0, 4.0] |
| 2119 | pd_data = pd.Series(data) |
| 2120 | d_series = from_pandas(pd.Series(data), npartitions=2) |
| 2121 | d_array = da.from_array(data, chunks=2) |
| 2122 | |
| 2123 | expected = binop(pd_data, pd_data) |
| 2124 | for left, right in [(d_series, d_array), (d_array, d_series)]: |
| 2125 | res = binop(left, right) |
| 2126 | assert_eq(res, expected) |
| 2127 | |
| 2128 | |
| 2129 | def test_len_shuffle_repartition(df, pdf): |
nothing calls this directly
no test coverage detected