So when you import a dataset from pandas you turn it into a DatasetDict. When loading datasets with these splits, you need to make sure the dataset has it’s own script that loads those splits. So I’d rather suggest you to split your pandas DataFrames, and then convert them into separate DatasetDicts and work on them.
Still, I’d like to ping @lhoestq if there’s a better solution than mine.