python

Match values of different columns and dataframes

Check if value from one dataframe exists in another dataframe
df_threads = pd.DataFrame({‘conv_id’: [’12’, ’15’, ’14’, ’23’], ‘tweets’: [‘Nice’, ‘Test’, ‘Hi’, ‘Yes’]})

df_orig = pd.DataFrame({‘id’: [’17’, ’12’, ’15’, ‘6’,’67’], ‘tweets’: …