July 2018
Beginner to intermediate
146 pages
3h 39m
English
In its present form, the DataFrame, although clean, does not contain the features that are required to build the plot description-based recommender. Fortunately, these requisite features are available in the original metadata file.
All we have to do is import them and add them to our DataFrame:
#Import the original fileorig_df = pd.read_csv('../data/movies_metadata.csv', low_memory=False)#Add the useful features into the cleaned dataframedf['overview'], df['id'] = orig_df['overview'], orig_df['id']df.head()
The DataFrame should now contain two new features: overview and id. We will use overview in building this model and id for building the next.
The overview feature consists of strings and, ideally, we should clean them ...
Read now
Unlock full access