duplicating a vector along an arbitrary number of dimensions

You don’t need final_array, you can get the result you want by:

to_repeat[base_array.argmin(0)]

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top