find columns that are in both dataframes code example Example: how to find columns of a dataframe list(my_dataframe.columns.values)