How can I create a ray dataset out of a pandas series containing bytes objects?

I think this is working, I can at least create the dataset with

ray.data.from_items(pandas_batch.to_list())