I have a Pandas DataFrame with a column containing lists objects
A 0 [1,2] 1 [3,4] 2 [8,9] 3 [2,6]
How can I access the firs
You can use map and a lambda function
map
lambda
df.loc[:, 'new_col'] = df.A.map(lambda x: x[0])