If you want to learn machine learning and try to implement it on very large datasets, then YES.
In order to manage these datasets, you have to optimize your code, which is learned in algorithms and you will have to smartly initialize your data, which you will learn through data structures. Learn the math behind it, learn what effects changes in parameters in ML algorithms do to your results, play with them they are beautiful