Skip to content

Instantly share code, notes, and snippets.

View guimatheus92's full-sized avatar

Guilherme Matheus guimatheus92

View GitHub Profile
@guimatheus92
guimatheus92 / fullcombined_data.py
Last active August 17, 2021 19:54
Netflix Recommendation System: From Netflix TXT files, we are going to create a full combined data
# From TXT files, we are going to create a full combined data
# If the file does not exist, we create the file in write mode (w)
if not os.path.isfile(r'kaggle/working/fullcombined_data.csv'):
# Process start time
start = datetime.now()
# Path and files that is going to be combined to a full file
files = [r'kaggle/input/netflix-prize-data/combined_data_1.txt',
r'kaggle/input/netflix-prize-data/combined_data_2.txt',
r'kaggle/input/netflix-prize-data/combined_data_3.txt',