ML is obviously a huge topic. So are you mainly talking about deep learning related stuff?
If that's the case, I'd recommend fast.ai.
For Data Analysis related stuff, just find any O'Reilly book on Pandas.
For Backend Web Dev, look for a book on Flask. It should be very easy to pick up if you've done backend stuff with JS.
In terms of learning Python "syntax", it's honestly really simple. I'd just get a Chat GPT-4 membership and then just copy and paste any syntax you don't understand and ask it to explain it to you.