I am trying to alter the values in an array. I, first created an array from a previous array by setting a condtion. The previous array was called Sales_Salary and the new array is called index which was made by using where(Sales_Salary<200000). Now, I want to update index by multiplying the values by 1.2.
Here is my code:
index = np.where(Sales_Salary<20000)
print(Sales_Salary[index])
How do I do this? Any hints?
Thanks