Sollicitatievraag bij Caterpillar

How do you split testing and training datasets in ML and what python library do you use?