Say I have 2 dataframes:
df1:
Name Data123 Data321 Age
A 123 321 20
df2:
Name Age
B 20
I wish to check which dataframe has column names containing the string "Data". If yes, the dataframe will be passed into a customized function as a whole. Thus in this case I wish to only have df1 passed into the said function. Please advise