try updating your condition to compare with the integer 1 instead
1
df["season"] = np.where(df["Month"] == 1, df["Year"] - 1, df["Year"])