Skip to content

Commit 5e4a57b

Browse files
author
lukovicaleksa
committed
REF: Data Source
1 parent 948346a commit 5e4a57b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
File renamed without changes.

utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ def is_db_movies_collection_initialized() -> bool:
2121
def initialize_db_movies_collection_from_dataset() -> int:
2222
"""
2323
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
24+
Already downloaded and placed in data_source folder
2525
2626
:return movies_inserted: Number of inserted movies
2727
"""
2828
# load the dataset
29-
df = pd.read_csv('data/tmdb_5000_movies.csv')
29+
df = pd.read_csv('data_source/tmdb_5000_movies.csv')
3030

3131
# drop rows with missing mandatory data
3232
df.dropna(subset=['title', 'overview'], inplace=True)

0 commit comments

Comments
 (0)