I\'ve created a Pandas DataFrame
df = DataFrame(index=[\'A\',\'B\',\'C\'], columns=[\'x\',\'y\'])
and got this
x y A NaN
Try using df.loc[row_index,col_indexer] = value
df.loc[row_index,col_indexer] = value