This commit is contained in:
2025-12-18 18:15:29 -05:00
parent 4e944b1557
commit 7feb712f44
+1
View File
@@ -2,6 +2,7 @@
# Nicholas Pease
# I decided to try MongoD because structure of documents, which aligns closely with JSON format, where I store a majority of the data I work with in other projects.
# I stored the data in this assignment in a collection of movie documents, where each document contains information about a movie, its directors, and its cast.
# Answer to part c: If we were accessing movies primarily by their years, followed by their names, I would create a compound index on the 'year' and 'movie_name' fields in the MongoDB collection.
import csv
import pandas as pd