how to handle data with lot of columns in machine learning code example Example: selecting items in a column of a dataframe df.loc[df['column_name'] == some_value]