How can I update a column when I have the values with their corresponding index? Without iterating.
df1:
index_copy Numeric Value
0 63 7.999600e+07
1 64 8.333368e+07
2 70 3.999600e+07
3 71 7.333368e+07
4 77 2.999600e+07
Into another dataframe column with empty values. In this case I want to add the values at index 63, 64, 70, 71 and 77.
df2['Column_to_be_updated']:
Column_to_be_updated
0 NaN
1 NaN
2 NaN
3 NaN
4 NaN