The answer to that is yes. Python was already used a lot in science and when Data Science started to blow up it already had numpy, scipy, scikit-learn and pandas. Also those libraries are really fast because they're wrapping highly optimized Cython, c, c++, and Fortran. I don't think Ruby had anything like that at the time.
Any language with FFI can have similar bindings to the same libraries used by Python, see Java, .NET (C#/F#), Julia, Swift,..... yet it doesn't seem to happen for Ruby.