We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 948346a commit 5e4a57bCopy full SHA for 5e4a57b
data/tmdb_5000_movies.csv renamed to data_source/tmdb_5000_movies.csv
utils.py
@@ -21,12 +21,12 @@ def is_db_movies_collection_initialized() -> bool:
21
def initialize_db_movies_collection_from_dataset() -> int:
22
"""
23
Initialize Movies collection using TMDB 5000 Movie Dataset from Kaggle (https://www.kaggle.com/datasets/tmdb/tmdb-movie-metadata)\n
24
- Already downloaded and placed in data folder
+ Already downloaded and placed in data_source folder
25
26
:return movies_inserted: Number of inserted movies
27
28
# load the dataset
29
- df = pd.read_csv('data/tmdb_5000_movies.csv')
+ df = pd.read_csv('data_source/tmdb_5000_movies.csv')
30
31
# drop rows with missing mandatory data
32
df.dropna(subset=['title', 'overview'], inplace=True)
0 commit comments