# Repeat all the elements of a NumPy array of strings in Python # importing the moduleimport numpy as np  # created array of stringsarr = np.array(['Akash', 'Rohit', 'Ayush',                 'Dhruv', 'Radhika'], dtype = np.str)print("Original Array :")print(arr)  # with the help of np.char.multiply()# repeating the characters 3 timesnew_array = np.char.multiply(arr, 3)print("\nNew array :")print(new_array)