CHeck to see if the column names/indices entered is valid for the dataframe given. This is an internal function

generate_col_ind(data, by)

Arguments

data

The H2OFrame whose column names or indices are entered as a list

by

The column names/indices in a list.