I am using if condition in python to perform a calculation but I am getting The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all(). error
Can someone please help me in understanding how to perform actions on a dataframe based on if condition on other columns?
if (simulated_hour['Weeknnd'] == 'Weekday'):
    simulated_hour['simulated'] = simulated_hour['Forecast_call']*simulation_weekday
    simulated_hour
Attached is the image of the code and error

 
     
    