1#using the insert function:
2df.insert(location, column_name, list_of_values)
3#example
4df.insert(0, 'new_column', ['a','b','c'])
5#explanation:
6#put "new_column" as first column of the dataframe
7#and puts 'a','b' and 'c' as values
8
9#using array-like access:
10df['new_column_name'] = value
11
12#df stands for dataframe
1# pre 0.24
2feature_file_df['RESULT'] = RESULT_df['RESULT'].values
3# >= 0.24
4feature_file_df['RESULT'] = RESULT_df['RESULT'].to_numpy()