For the background on the prototyping aspect of Lua, you can check this excellent blog post from Steve Yegge [1].
Regarding Python for data scientist, the type A is happy but not type B. The main reason the ill-fated Swift for TensorFlow project was proposed, is to better serve type B data scientists [2].