Scala is a statically typed language and thus testing is much better in Scala. Both are open source and Scala also has good community support. But still, it is lesser than Python. Python has proper data science tools and libraries for Machine learning and
Natural Language Processing (NLP).