Hi, I want to extract values in a list, where those list is stored in a dataframe.
Data
df
is a dataframe of 1000 rows and 20 column. I only interested in the 7th column (a list), so ignore another column.
Here's the first row of the df[[7]]
looks like (or its df[[7]][[1]]
):
What I want to do
I want to extract the screen_name
value under user_mention
which in this case paijodirajo
. Except, I want to get all rows screen_name
data instead of only first row.
I'm using this stupid code df[[7]][[1:10000]]$user_mentions$screen_name
which ofcourse failed, but you get the idea.
So how to do it correctly?