human
How to remove square bracket from pandas dataframe
assistant
Here is some code to get element at index 0 of each list in column 'value' of dataframe `df`

df['value'] = df['value'].str.get(0)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.