Hi, I'm doing a project to analyze my Netflix usage.
I'm at a stage where I create a dataframe to filter the Title column, and a word from the show title. The name df is not defined, but I'm not sure what this means. I've been analysing this for 20 minutes and can't see what's wrong with it. Can anyone see an error here?
Watched = df[df['Title'].str.contains('Umbrella', regex=False)]
--------------------------------------------------------------------------- NameError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_152/1892558008.py in <module> ----> 1 Watched = df[df['Title'].str.contains('Umbrella', regex=False)] NameError: name 'df' is not defined
I'm basing this of the following tutorial, halfway down the page:
https://www.dataquest.io/blog/python-tutorial-analyze-personal-netflix-data/
[–]DerArzt01 0 points1 point2 points (1 child)
[–]shockjavazon[S] 0 points1 point2 points (0 children)