Hi @candiceliu93, hope you’re doing alright
Actually @doyinsolamiolaoye is right, remember that pandas has different operators
So in english doyinsolamiolaoye’s answers says something like the sum of NOT the autos at registration_year column that are between 1900 and 2016
. That would give the total number of cars that are outside the range 1900-2016
There’s another way to answer that
autos = autos[(autos['registration_year'] >= 1800) & (autos['registration_year'] <= 2016)]
Here you get a df that has only the autos that have registration year between 1800 and 2016, i used 1800 because the first cars came out in 1886, but now i think that using 1900 is way more better
Anyway try both ways with the years that you choose and try to find the differences. Remember that there’s different ways to answer the excesices. There’s not wrong answers only more or less efficient ways to answer
Good luck!