use column_or_1d, move it to utils