Errata: W10 Pandas (querying from dataframe task)

Sir, in this the professor using the first principal applies the condition in if statement as if df.year<2010 but in this it will not drop if it is greater than 2010 and in task he said it should be equal to 2010 not greater… Please reply

Yes, It should have been r['year'] != 2010
I think it’s just an error at our end.

Yes sir… :v: absolutely

1 Like