I have a dataframe that looks as follows:
ID Name
1 Missing
2 Missing
3 Missing
.......
Is there a way in which I could fill in the Column Name equally(+1) if len(df) is uneven with a number of names I have stored( a list or a dictionary). For Ex if I have 2 names. Half of the column would be Name1 while the other half would be Name2. I tried:
for i in (range(len(df)/no_names)):
counter=0
df.ix[i]['Name'] = dictionary.values()[0]
but this would fill in only my first N rows based on how many names I have.