Please correct a minor typo in variable for Lab - Vector and Factors.ipynb
Hello team,
On the In[20] it says 'year' instead of 'release_year':
year[c("American Beauty", "Chicago")]
So when the shift+enter is pressed an error is produced in the Out[20], so I tried with:
release_year[c("American Beauty", "Chicago")] and the output is good now...
2
votes

-
Hevin Jaimes commented
Same thing on In[37]...
It was changed from 'year' to 'movie_years'
release_year[year > 2000] #returns a vector for elements that returned TRUE for the condition
vs...
release_year[movie_years > 2000] #returns a vector for elements that returned TRUE for the condition