@pytest.mark.parametrize("collection", [tuple, dict, list])
@pytest.mark.parametrize( "y,y_serializer", [ (np.arange(50), "dask"), (pd.DataFrame({"C": ["a", "b", None], "D": [2.5, 3.5, 4.5]}), "pickle"), (None, "pickle"), ], )
def test_serialize_collection(
collection,
y,
y_serializer,
)