py_dataset_to_embeddings function

Convert arrow data set to an arrow data set