I am trying to create a number of new arrays with unique naming. The name of each array is defined by the information in a pandas dataframe.
import pandas as pd 
import numpy as np 
d = {'ColA':[152689, 221330, 245521], 'ColB':[005263, 135255, 102120], 'ColC':[132565, 187514, 414141]}
Sample = pd.DataFrame(data=d)
SampleForNames = Sample[['ColA', 'ColB']].copy() 
What I want are new (empty) arrays called '152689_005263', '221330_135255', '245521_102120' and so on. The total number of new arrays will be the number of rows there are in the dataframe.
Here is what I am thinking of writing, as pseudocode.
1// Information from above 
2// for i in range(len(Sample['ColA'])):
3//       FirstName = Sample['ColA'][i]
4//       SecondName = Sample['ColB'][i]
5//       TotalName = 'Loc' + str(FirstName) + '_' + str(SecondName)
6//       TotalName = []
I don't think line 6 works... Any advice?
