What is the equivalent of MATLAB”s repmat in NumPy

StackOverflow

I would like to execute the equivalent of the following MATLAB code using NumPy: repmat([1; 1], [1 1 1]). How would I accomplish this?





Tutorials