I have a Pandas dataframe with several columns, one of which is the name of the image file.
I can use tf.keras.ImageDataGenerator().flow_from_dataframe(), example here:

Apart from the image and the target, how do I get the other data columns like sex, age_approx, anatom_site_challenge, dignosis, etc. flow_from_dataframe does not seem to cover it, and I have tried TF Data options, but I would like something simpler cause it seems like such a common use-case.