powered by
Check for existence of a set of columns in a dataframe
is_col_present(df, ...)
TRUE if the columns are all there, false otherwise
a dataframe to test
the column names (unquoted)
is_col_present(iris, Species, Petal.Width)
Run the code above in your browser using DataLab