I\'ve got a table of clients (coper) and asset allocation (asset)
A = [[1,2],[3,4],[5,6]] idx = [\'coper1\',\'coper2\',\'coper3\'] cols = [\'asset1\',\'asset
set the ignore_index to be False to preserve the index, e.g.
df = df.melt(var_name=‘species’, value_name=‘height’, ignore_index = False)