optical.visualizer.utils.check_df_cols¶
- optical.visualizer.utils.check_df_cols(df_cols: List, req_cols: List) bool[source]¶
Verifies whether input dataframe contains required columns or not.
- Parameters
df_cols (List) – List of columns in the input dataframe.
req_cols (List) – List of required columns.
- Returns
Trueif all required columns are present, otherwiseFalse.- Return type
bool