This dataframe is the principal with the original tweets. "original_ds_.csv"
id tweet
---------------------------------------------
78 "onetoone"
86 "maybe tomorrow"
72 "thnk you"
Then, I extracted the tweet conversation for each tweet. As a result, I have a dataframe called "threads.csv"
This dataset represents the conversation tweets extracted from an original tweet
id tweet conver_id
---------------------------------------------
34 "hello world" 78
36 "nice to have" 78
56 "just an exam" 72
-The conver_id is the column which represents the id who started the conversation (extracted from the dataset original_ds_.csv)
-The conver_id is the "id" of the original_ds.csv
-It is possible have one or more tweets associated to one original tweet in the dataset as the first.
Now my question is, how can I do this:
If the id on original_ds_.csv is the same in the column conv_id of the threads.csv add a new column in the threads.csv called File_Name with the value SPANISH