I have a list as shown below:- ( print output)
port_list= [array(['51175-80,', '51176-80,'],
dtype='<U9'), array(['51259-80,', '51260-80,'],
dtype='<U9'), array(['51096-80,'],
dtype='<U9'), array(['51079-80,', '51080-80,'],
dtype='<U9'), array(['51765-80,', '51766-80,'],
dtype='<U9'), array(['51402-80,', '51403-80,'],
dtype='<U9'), array(['51235-80,', '51236-80,'],
dtype='<U9'), array(['51381-80,', '51382-80,'],
dtype='<U9'), array(['44647-40000,'],
dtype='<U12')]
I want to convert this to an numpy array as follows:-
[['51175-80,' '51176-80,' '51259-80,' '51260-80,'...]]
How can I do this?
Thanks a ton for any help here.