Python is used heavily in data science (and a lot of other places) because people who go to university for non software engineering disciplines get taught Python because it's "the easy language that already has libraries for this research we're doing." Those people then go on to write more of these libraries. Their code does amazing things, but very slowly.