I am trying to use loop through ind_num to match the index value using iloc .. then replace the value next to the index value by looping through designation.
this is an example problem which closely reflect a project I am working on .. but I feel this example makes it easier for others to understand what I'm trying to accomplish.
import pandas as pd
data = [['h', 'zero'], ['i', 'circle'], ['j', 'two'], ['k','square']]
#goal is to replace 'circle' and 'square' with 'one' and 'three' respectively
df = pd.DataFrame(data, columns=['letters', 'ind_name'])
print(df)
ind_num = [1, 3]
designation = ['one', 'three']
'''for x in ind_num
for y in designation
df.iloc[x][1]''' # not sure where to go from here