Is it possible when creating a dataframe from a list, to set the index as one of the values?
import pandas as pd tmp = [[\'a\', \'a1\'], [\'b\',\' b1\']] df =
Change it to list before assigning it to index
df.index = list(df["First"])