Gets the intersection or union of columns in a list of dataframes This is used in the geomac and mtbs load code

get_common_cols(inp_df_list, set_group_fn)

Arguments

inp_df_list

(list) : A list of data frames which may have some columns in common

set_group_fn

(function) : Typically intersect or union. Will determine if we get the common intersection or union of all column names across all the data frames in the list