I have a dataframe:
1 0 1 2
2 2 3 1
3 8 2 9
Expected output:
1 0 1 0
2 2 3 0
3 8 2 9
My initial thought process for this is
df = np.where(df['Reported'] >= df['Goal'], df['Score'] = 0, df['Score']
This isn't working as needed.