convert a pandas dataframe to dataset code example
Example 1: convert tibble to dataframe
as.data.frame(x) #x being the tibble to be converted
Example 2: dataframe to tf data
dataset = tf.data.Dataset.from_tensor_slices((df.values, target.values))
FROM df to tf!!!! datasets!!!