dataset into two subsets

Hi, can you provide a reproducible example? We don't have your dataset.