I've tried a few times now to do data science in a statically typed language, and I just haven't enjoyed the developer experience. In general I tend to think the advantages of dynamic typing are overblown, but this is one problem domain where it seems to be indispensable.
ML and data engineering is a different story, of course. Also, I wouldn't be surprised if something clever could be done with a structural type system.