open_in_new
content_copy
df <- df[, !(names(df) %in% c("col1", "col2")), drop = FALSE]