To get started with Python with machine learning in mind, you also need to learn Numpy, Pandas, and more. Here, we will list the textbooks for learning these.
--Data analysis technology that wins with Kaggle
--Python practice data analysis 100 knocks
https://amzn.to/2vePs9V
the art of readable code