Join 2 1-dimensional numpy string arrays into a larger 2 dimensional array
At the current moment, I am trying to combine an array of titles with a corresponding ID number (in String format) into a larger array as such: import numpy as np titles = np.array([‘title1’, ‘title2’, ‘title3’]) IDs = np.array([‘1543’, ‘1231’, ‘1551’]) newOutput = combinepseudocode(titles, IDs) newOutput = [[‘title1’, ‘1543’], [‘title2’, ‘1231’], [‘title3’, ‘1551’]] When looking… Read More Join 2 1-dimensional numpy string arrays into a larger 2 dimensional array