handles edge case of threshold_by_max_cols being larger than our number of colummns
handles edge case of threshold_by_max_cols being larger than our number of colummns

ClimbsRocks/auto_ml,doordash/auto_ml