set data in column 'value' of dataframe `df` equal to first element of each list,df['value'] = df['value'].str[0]