# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import pandas as pd

# +
###
# -

# Imagine this notebook contains all of the gathering code from this entire lesson, plus the assessing and cleaning code done behind the scenes, and that the final product is a merged master DataFrame called *df*.

df = pd.read_csv('gathered_assessed_cleaned.csv')

# +
###
# -

# Your code here
# Save the master DataFrame to a file called 'bestofrt_master.csv'
# Hint: watch out for the index!
df.to_csv('bestofrt_master.csv',index = False)

# ## Solution Test
# Run the cell below the see if your solution is correct. If an AssertionError is thrown, your solution is incorrect. If no error is thrown, your solution is correct.

import filecmp
fc = filecmp.cmp('bestofrt_master_solution.csv',
                 'bestofrt_master.csv')
assert fc



StarcoderdataJupyterScriptsDedupFiltered