How to add a new column with the type 'image' to an existing dataset?

How to add a new column with the type ‘image’ to an existing dataset?

You can use dataset = datasets.concatenate_datasets([dataset, datasets.Dataset.from_dict({"image": pil_images})], axis=1).