Make sure that `num_columns` >= 0.