I am trying to read data and I cannot understand what the {0} should be doing when reading the file. What is the purpose of it?
data_files = [
"ap_2010.csv",
"class_size.csv",
"demographics.csv",
"graduation.csv",
"hs_directory.csv",
"sat_results.csv"
]
data = {}
for file in data_files:
dataframe= pd.read_csv('schools/{0}'.format(file))
dataframe_name = file.replace(".csv","")
data[dataframe_name] = dataframe```