diff --git a/__pycache__/__init__.cpython-36.pyc b/__pycache__/__init__.cpython-36.pyc index b4b7209..74a7441 100644 Binary files a/__pycache__/__init__.cpython-36.pyc and b/__pycache__/__init__.cpython-36.pyc differ diff --git a/q01_load_data/__pycache__/__init__.cpython-36.pyc b/q01_load_data/__pycache__/__init__.cpython-36.pyc index 92b3ac2..6e53492 100644 Binary files a/q01_load_data/__pycache__/__init__.cpython-36.pyc and b/q01_load_data/__pycache__/__init__.cpython-36.pyc differ diff --git a/q01_load_data/__pycache__/build.cpython-36.pyc b/q01_load_data/__pycache__/build.cpython-36.pyc index e27baf6..74c5923 100644 Binary files a/q01_load_data/__pycache__/build.cpython-36.pyc and b/q01_load_data/__pycache__/build.cpython-36.pyc differ diff --git a/q01_load_data/build.py b/q01_load_data/build.py index 69d7209..c9ddf26 100644 --- a/q01_load_data/build.py +++ b/q01_load_data/build.py @@ -1,5 +1,10 @@ +# %load q01_load_data/build.py import pandas as pd def q01_load_data(path): - "write your solution here" + df = pd.read_excel(path) + df['total'] = df['Jan']+df['Feb']+df['Mar'] + return df + + diff --git a/q01_load_data/tests/__pycache__/__init__.cpython-36.pyc b/q01_load_data/tests/__pycache__/__init__.cpython-36.pyc index 2a2dfc7..408844a 100644 Binary files a/q01_load_data/tests/__pycache__/__init__.cpython-36.pyc and b/q01_load_data/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q01_load_data/tests/__pycache__/tests.cpython-36.pyc b/q01_load_data/tests/__pycache__/tests.cpython-36.pyc index 76e04c8..28e8fa6 100644 Binary files a/q01_load_data/tests/__pycache__/tests.cpython-36.pyc and b/q01_load_data/tests/__pycache__/tests.cpython-36.pyc differ diff --git a/q02_append_row/__pycache__/__init__.cpython-36.pyc b/q02_append_row/__pycache__/__init__.cpython-36.pyc index de0cf61..c6795e6 100644 Binary files a/q02_append_row/__pycache__/__init__.cpython-36.pyc and b/q02_append_row/__pycache__/__init__.cpython-36.pyc differ diff --git a/q02_append_row/__pycache__/build.cpython-36.pyc b/q02_append_row/__pycache__/build.cpython-36.pyc index 5088267..6030817 100644 Binary files a/q02_append_row/__pycache__/build.cpython-36.pyc and b/q02_append_row/__pycache__/build.cpython-36.pyc differ diff --git a/q02_append_row/build.py b/q02_append_row/build.py index af3701d..2f10820 100644 --- a/q02_append_row/build.py +++ b/q02_append_row/build.py @@ -1,3 +1,4 @@ +# %load q02_append_row/build.py import pandas as pd import sys, os #sys.path.append(os.path.join(os.path.dirname(os.curdir))) @@ -5,7 +6,18 @@ def q02_append_row(path): - "write your solution here" + df = pd.read_excel(path) + df['total']=df['Jan']+df['Feb']+df['Mar'] + #df.loc[len(df),:]=None + #df.loc[len(df),['Jan']]=df['Jan'].sum() + #df.loc[len(df),['Feb']]=df['Feb'].sum() + #df.loc[len(df),['Mar']]=df['Mar'].sum() + #df.loc[len(df),['total']]=df['total'].sum() + df.loc[len(df),:]=df.sum() + return df +q02_append_row('data/excel-comp-data.xlsx') + + diff --git a/q02_append_row/tests/__pycache__/__init__.cpython-36.pyc b/q02_append_row/tests/__pycache__/__init__.cpython-36.pyc index dab3eca..49aafe7 100644 Binary files a/q02_append_row/tests/__pycache__/__init__.cpython-36.pyc and b/q02_append_row/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q02_append_row/tests/__pycache__/tests.cpython-36.pyc b/q02_append_row/tests/__pycache__/tests.cpython-36.pyc index 742ee79..c01799f 100644 Binary files a/q02_append_row/tests/__pycache__/tests.cpython-36.pyc and b/q02_append_row/tests/__pycache__/tests.cpython-36.pyc differ diff --git a/q03_scrape_clean/__pycache__/__init__.cpython-36.pyc b/q03_scrape_clean/__pycache__/__init__.cpython-36.pyc index e99e173..7cb5a57 100644 Binary files a/q03_scrape_clean/__pycache__/__init__.cpython-36.pyc and b/q03_scrape_clean/__pycache__/__init__.cpython-36.pyc differ diff --git a/q03_scrape_clean/__pycache__/build.cpython-36.pyc b/q03_scrape_clean/__pycache__/build.cpython-36.pyc index cdec2c4..08e1cec 100644 Binary files a/q03_scrape_clean/__pycache__/build.cpython-36.pyc and b/q03_scrape_clean/__pycache__/build.cpython-36.pyc differ diff --git a/q03_scrape_clean/build.py b/q03_scrape_clean/build.py index a88e3e2..bd5331e 100644 --- a/q03_scrape_clean/build.py +++ b/q03_scrape_clean/build.py @@ -1,9 +1,17 @@ +# %load q03_scrape_clean/build.py import pandas as pd import sys, os import requests +from bs4 import BeautifulSoup sys.path.append(os.path.join(os.path.dirname(os.curdir))) def q03_scrape_clean(url): - "write your solution here" + res = requests.get(url) + soup = BeautifulSoup(res.content,'lxml') + table = soup.find_all('table')[0] + df = pd.read_html(str(table))[0] + df=df.iloc[12:,:] + return df + diff --git a/q03_scrape_clean/tests/__pycache__/__init__.cpython-36.pyc b/q03_scrape_clean/tests/__pycache__/__init__.cpython-36.pyc index bee36fb..d093545 100644 Binary files a/q03_scrape_clean/tests/__pycache__/__init__.cpython-36.pyc and b/q03_scrape_clean/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q03_scrape_clean/tests/__pycache__/tests.cpython-36.pyc b/q03_scrape_clean/tests/__pycache__/tests.cpython-36.pyc index 8529c87..51894fc 100644 Binary files a/q03_scrape_clean/tests/__pycache__/tests.cpython-36.pyc and b/q03_scrape_clean/tests/__pycache__/tests.cpython-36.pyc differ diff --git a/q04_mapping/__pycache__/__init__.cpython-36.pyc b/q04_mapping/__pycache__/__init__.cpython-36.pyc index ee0618f..44cd83d 100644 Binary files a/q04_mapping/__pycache__/__init__.cpython-36.pyc and b/q04_mapping/__pycache__/__init__.cpython-36.pyc differ diff --git a/q04_mapping/__pycache__/build.cpython-36.pyc b/q04_mapping/__pycache__/build.cpython-36.pyc index 8283165..a43a623 100644 Binary files a/q04_mapping/__pycache__/build.cpython-36.pyc and b/q04_mapping/__pycache__/build.cpython-36.pyc differ diff --git a/q04_mapping/build.py b/q04_mapping/build.py index 914cfa8..d0d2e14 100644 --- a/q04_mapping/build.py +++ b/q04_mapping/build.py @@ -1,10 +1,18 @@ +# %load q04_mapping/build.py import pandas as pd import sys, os import numpy as np #sys.path.append(os.path.join(os.path.dirname(os.curdir))) from greyatomlib.pandas_guided_project.q02_append_row.build import q02_append_row -def q04_mapping(path1,path2): - "write your solution here" +def q04_mapping(path1,path2): + df1 = pd.read_excel(path1) + df1['total']=df1['Jan']+df1['Feb']+df1['Mar'] + df1.loc[len(df1),:]=df1.sum() + df2 = pd.read_csv(path2) + abbr_dict = dict(zip(df2.iloc[:,[1,6]]['United States of America'],df2.iloc[:,[1,6]]['Unnamed: 6'])) + #df1['abbr']=np.where(df1.iloc[4]) in abbr_dict,str(abbr_dict[df1.iloc[4]]),'nan') + df1.iloc[:,6]=df1['state'].map(abbr_dict) + return df1 diff --git a/q04_mapping/tests/__pycache__/__init__.cpython-36.pyc b/q04_mapping/tests/__pycache__/__init__.cpython-36.pyc index eef3d6b..b3f937b 100644 Binary files a/q04_mapping/tests/__pycache__/__init__.cpython-36.pyc and b/q04_mapping/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q04_mapping/tests/__pycache__/test.cpython-36.pyc b/q04_mapping/tests/__pycache__/test.cpython-36.pyc index 7f7c96e..30c3cac 100644 Binary files a/q04_mapping/tests/__pycache__/test.cpython-36.pyc and b/q04_mapping/tests/__pycache__/test.cpython-36.pyc differ diff --git a/q05_replace_missing_values/__pycache__/__init__.cpython-36.pyc b/q05_replace_missing_values/__pycache__/__init__.cpython-36.pyc index f50c1d5..4dfec7f 100644 Binary files a/q05_replace_missing_values/__pycache__/__init__.cpython-36.pyc and b/q05_replace_missing_values/__pycache__/__init__.cpython-36.pyc differ diff --git a/q05_replace_missing_values/__pycache__/build.cpython-36.pyc b/q05_replace_missing_values/__pycache__/build.cpython-36.pyc index 6a32964..a66b553 100644 Binary files a/q05_replace_missing_values/__pycache__/build.cpython-36.pyc and b/q05_replace_missing_values/__pycache__/build.cpython-36.pyc differ diff --git a/q05_replace_missing_values/build.py b/q05_replace_missing_values/build.py index 97d9755..155b57d 100644 --- a/q05_replace_missing_values/build.py +++ b/q05_replace_missing_values/build.py @@ -1,3 +1,4 @@ +# %load q05_replace_missing_values/build.py import pandas as pd import numpy as np import sys @@ -8,6 +9,15 @@ path1 = 'data/excel-comp-data.xlsx' path2 = 'data/scraped.csv' def q05_replace_missing_values(path1,path2): + df1 = pd.read_excel(path1) + df1['total']=df1['Jan']+df1['Feb']+df1['Mar'] + df1.loc[len(df1),:]=df1.sum() + df2 = pd.read_csv(path2) + abbr_dict = dict(zip(df2.iloc[:,[1,6]]['United States of America'],df2.iloc[:,[1,6]]['Unnamed: 6'])) + #df1['abbr']=np.where(df1.iloc[4]) in abbr_dict,str(abbr_dict[df1.iloc[4]]),'nan') + df1.iloc[:,6]=df1['state'].map(abbr_dict) + df1.iloc[6,6] = 'MS' + df1.iloc[10,6] = 'TN' + return df1 -#print(q05_replace_missing_values(path1,path2).shape) \ No newline at end of file diff --git a/q05_replace_missing_values/tests/__pycache__/__init__.cpython-36.pyc b/q05_replace_missing_values/tests/__pycache__/__init__.cpython-36.pyc index 03391a7..7ee3f53 100644 Binary files a/q05_replace_missing_values/tests/__pycache__/__init__.cpython-36.pyc and b/q05_replace_missing_values/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q05_replace_missing_values/tests/__pycache__/tests.cpython-36.pyc b/q05_replace_missing_values/tests/__pycache__/tests.cpython-36.pyc index 3b9d62a..bef0fdd 100644 Binary files a/q05_replace_missing_values/tests/__pycache__/tests.cpython-36.pyc and b/q05_replace_missing_values/tests/__pycache__/tests.cpython-36.pyc differ diff --git a/q06_sub_total/__pycache__/__init__.cpython-36.pyc b/q06_sub_total/__pycache__/__init__.cpython-36.pyc index f70134c..e0ea734 100644 Binary files a/q06_sub_total/__pycache__/__init__.cpython-36.pyc and b/q06_sub_total/__pycache__/__init__.cpython-36.pyc differ diff --git a/q06_sub_total/__pycache__/build.cpython-36.pyc b/q06_sub_total/__pycache__/build.cpython-36.pyc index adaf0ce..3ff14a4 100644 Binary files a/q06_sub_total/__pycache__/build.cpython-36.pyc and b/q06_sub_total/__pycache__/build.cpython-36.pyc differ diff --git a/q06_sub_total/build.py b/q06_sub_total/build.py index c420838..8abbdb5 100644 --- a/q06_sub_total/build.py +++ b/q06_sub_total/build.py @@ -1,3 +1,4 @@ +# %load q06_sub_total/build.py import pandas as pd import numpy as np from sklearn.model_selection import train_test_split @@ -10,7 +11,26 @@ path2 = 'data/scraped.csv' def q06_sub_total(path1,path2): - "write your solution here" + import pandas as pd +import numpy as np +import sys +import os +#sys.path.append(os.path.join(os.path.dirname(os.curdir))) +from greyatomlib.pandas_guided_project.q04_mapping.build import q04_mapping +path1 = 'data/excel-comp-data.xlsx' +path2 = 'data/scraped.csv' +def q06_sub_total(path1,path2): + df1 = pd.read_excel(path1) + df1['total']=df1['Jan']+df1['Feb']+df1['Mar'] + df1.loc[len(df1),:]=df1.sum() + df2 = pd.read_csv(path2) + abbr_dict = dict(zip(df2.iloc[:,[1,6]]['United States of America'],df2.iloc[:,[1,6]]['Unnamed: 6'])) + #df1['abbr']=np.where(df1.iloc[4]) in abbr_dict,str(abbr_dict[df1.iloc[4]]),'nan') + df1.iloc[:,6]=df1['state'].map(abbr_dict) + df1.iloc[6,6] = 'MS' + df1.iloc[10,6] = 'TN' + df1.rename(index=str,columns={'Jan':'abbr'},inplace=True) + return df1.groupby(['abbr']).sum().iloc[:,:4] diff --git a/q06_sub_total/tests/__pycache__/__init__.cpython-36.pyc b/q06_sub_total/tests/__pycache__/__init__.cpython-36.pyc index 93ecd56..53a1d2d 100644 Binary files a/q06_sub_total/tests/__pycache__/__init__.cpython-36.pyc and b/q06_sub_total/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q06_sub_total/tests/__pycache__/test.cpython-36.pyc b/q06_sub_total/tests/__pycache__/test.cpython-36.pyc index 691280a..40d72d2 100644 Binary files a/q06_sub_total/tests/__pycache__/test.cpython-36.pyc and b/q06_sub_total/tests/__pycache__/test.cpython-36.pyc differ diff --git a/q07_symbols/__pycache__/__init__.cpython-36.pyc b/q07_symbols/__pycache__/__init__.cpython-36.pyc index 60b0cca..4bad948 100644 Binary files a/q07_symbols/__pycache__/__init__.cpython-36.pyc and b/q07_symbols/__pycache__/__init__.cpython-36.pyc differ diff --git a/q07_symbols/__pycache__/build.cpython-36.pyc b/q07_symbols/__pycache__/build.cpython-36.pyc index d28eaa9..23fcad6 100644 Binary files a/q07_symbols/__pycache__/build.cpython-36.pyc and b/q07_symbols/__pycache__/build.cpython-36.pyc differ diff --git a/q07_symbols/build.py b/q07_symbols/build.py index b8cbb92..8b5cd38 100644 --- a/q07_symbols/build.py +++ b/q07_symbols/build.py @@ -1,18 +1,26 @@ +# %load q07_symbols/build.py import pandas as pd import numpy as np from sklearn.model_selection import train_test_split import sys import os sys.path.append(os.path.join(os.path.dirname(os.curdir))) -from greyatomlib.pandas_guided_project.q06_sub_total.build import q06_sub_total +#from greyatomlib.pandas_guided_project.q06_sub_total.build import q06_sub_total path1 = 'data/excel-comp-data.xlsx' path2 = 'data/scraped.csv' def q07_symbols(path1,path2): - "write your solution here" + df1 = pd.read_excel(path1) + df1['total']=df1['Jan']+df1['Feb']+df1['Mar'] + df1.loc[len(df1),:]=df1.sum() + df2 = pd.read_csv(path2) + abbr_dict = dict(zip(df2.iloc[:,[1,6]]['United States of America'],df2.iloc[:,[1,6]]['Unnamed: 6'])) + df1.iloc[:,6]=df1['state'].map(abbr_dict) + df1.iloc[6,6] = 'MS' + df1.iloc[10,6] = 'TN' + df1.rename(index=str,columns={'Jan':'abbr'},inplace=True) + return df1.groupby(['abbr']).sum().applymap(lambda x:'$'+str(int(x))).applymap(lambda x:x[:4]+','+x[4:]) +#q07_symbols(path1,path2) - -#print(q07_symbols(path1,path2)) - diff --git a/q07_symbols/tests/__pycache__/__init__.cpython-36.pyc b/q07_symbols/tests/__pycache__/__init__.cpython-36.pyc index f854b4a..c561d18 100644 Binary files a/q07_symbols/tests/__pycache__/__init__.cpython-36.pyc and b/q07_symbols/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q07_symbols/tests/__pycache__/test.cpython-36.pyc b/q07_symbols/tests/__pycache__/test.cpython-36.pyc index 1a8a9c3..d206556 100644 Binary files a/q07_symbols/tests/__pycache__/test.cpython-36.pyc and b/q07_symbols/tests/__pycache__/test.cpython-36.pyc differ diff --git a/q08_append_subtotals/__pycache__/__init__.cpython-36.pyc b/q08_append_subtotals/__pycache__/__init__.cpython-36.pyc index df1c3a2..0213c8f 100644 Binary files a/q08_append_subtotals/__pycache__/__init__.cpython-36.pyc and b/q08_append_subtotals/__pycache__/__init__.cpython-36.pyc differ diff --git a/q08_append_subtotals/__pycache__/build.cpython-36.pyc b/q08_append_subtotals/__pycache__/build.cpython-36.pyc index d03d4af..dfef797 100644 Binary files a/q08_append_subtotals/__pycache__/build.cpython-36.pyc and b/q08_append_subtotals/__pycache__/build.cpython-36.pyc differ diff --git a/q08_append_subtotals/tests/__pycache__/__init__.cpython-36.pyc b/q08_append_subtotals/tests/__pycache__/__init__.cpython-36.pyc index 21f4cd0..89aedcc 100644 Binary files a/q08_append_subtotals/tests/__pycache__/__init__.cpython-36.pyc and b/q08_append_subtotals/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q08_append_subtotals/tests/__pycache__/tests.cpython-36.pyc b/q08_append_subtotals/tests/__pycache__/tests.cpython-36.pyc index da1ab93..9e0d3ca 100644 Binary files a/q08_append_subtotals/tests/__pycache__/tests.cpython-36.pyc and b/q08_append_subtotals/tests/__pycache__/tests.cpython-36.pyc differ diff --git a/q09_pie_chart_jan/__pycache__/__init__.cpython-36.pyc b/q09_pie_chart_jan/__pycache__/__init__.cpython-36.pyc index a0e3add..d5b0dbc 100644 Binary files a/q09_pie_chart_jan/__pycache__/__init__.cpython-36.pyc and b/q09_pie_chart_jan/__pycache__/__init__.cpython-36.pyc differ diff --git a/q09_pie_chart_jan/__pycache__/build.cpython-36.pyc b/q09_pie_chart_jan/__pycache__/build.cpython-36.pyc index 25a6c03..0664c02 100644 Binary files a/q09_pie_chart_jan/__pycache__/build.cpython-36.pyc and b/q09_pie_chart_jan/__pycache__/build.cpython-36.pyc differ diff --git a/q09_pie_chart_jan/build.py b/q09_pie_chart_jan/build.py index 6483bc6..c4e76d0 100644 --- a/q09_pie_chart_jan/build.py +++ b/q09_pie_chart_jan/build.py @@ -1,15 +1,26 @@ +# %load q09_pie_chart_jan/build.py import pandas as pd import numpy as np from sklearn.model_selection import train_test_split import sys,os sys.path.append(os.path.join(os.path.dirname(os.curdir))) -from greyatomlib.pandas_guided_project.q06_sub_total.build import q06_sub_total +#from greyatomlib.pandas_guided_project.q06_sub_total.build import q06_sub_total import matplotlib.pyplot as plt plt.switch_backend('agg') - +path1='data/excel-comp-data.xlsx' +path2='data/scraped.csv' def q09_pie_chart_jan(path1,path2): - - "write your solution here" - + df1 = pd.read_excel(path1) + df1['total']=df1['Jan']+df1['Feb']+df1['Mar'] + df1.loc[len(df1),:]=df1.sum() + df2 = pd.read_csv(path2) + abbr_dict = dict(zip(df2.iloc[:,[1,6]]['United States of America'],df2.iloc[:,[1,6]]['Unnamed: 6'])) + dftemp=df1['state'].map(abbr_dict) + df1.insert(loc=6,column='abbr',value=dftemp) + df1.iloc[6,6] = 'MS' + df1.iloc[10,6] = 'TN' + df3 = df1.groupby(['abbr']).sum() + return df3.plot.pie(y='Jan',figsize=(7,7)) +q09_pie_chart_jan(path1,path2) diff --git a/q09_pie_chart_jan/tests/__pycache__/__init__.cpython-36.pyc b/q09_pie_chart_jan/tests/__pycache__/__init__.cpython-36.pyc index 07ab367..77ffec9 100644 Binary files a/q09_pie_chart_jan/tests/__pycache__/__init__.cpython-36.pyc and b/q09_pie_chart_jan/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q09_pie_chart_jan/tests/__pycache__/tests.cpython-36.pyc b/q09_pie_chart_jan/tests/__pycache__/tests.cpython-36.pyc index b3b93c2..52a34be 100644 Binary files a/q09_pie_chart_jan/tests/__pycache__/tests.cpython-36.pyc and b/q09_pie_chart_jan/tests/__pycache__/tests.cpython-36.pyc differ diff --git a/q10_total/__pycache__/__init__.cpython-36.pyc b/q10_total/__pycache__/__init__.cpython-36.pyc index 060775d..7417e9b 100644 Binary files a/q10_total/__pycache__/__init__.cpython-36.pyc and b/q10_total/__pycache__/__init__.cpython-36.pyc differ diff --git a/q10_total/__pycache__/build.cpython-36.pyc b/q10_total/__pycache__/build.cpython-36.pyc index 3ab214f..a26fc9f 100644 Binary files a/q10_total/__pycache__/build.cpython-36.pyc and b/q10_total/__pycache__/build.cpython-36.pyc differ diff --git a/q10_total/build.py b/q10_total/build.py index 11f03c5..ca43a6b 100644 --- a/q10_total/build.py +++ b/q10_total/build.py @@ -1,14 +1,28 @@ +# %load q10_total/build.py import pandas as pd import numpy as np from sklearn.model_selection import train_test_split import sys,os sys.path.append(os.path.join(os.path.dirname(os.curdir))) -from greyatomlib.pandas_guided_project.q06_sub_total.build import q06_sub_total +#from greyatomlib.pandas_guided_project.q06_sub_total.build import q06_sub_total import matplotlib.pyplot as plt plt.switch_backend('agg') - +path1='data/excel-comp-data.xlsx' +path2='data/scraped.csv' def q10_total(path1,path2): - "write your solution here" + 'write your solution here' + df1 = pd.read_excel(path1) + df1['total']=df1['Jan']+df1['Feb']+df1['Mar'] + df1.loc[len(df1),:]=df1.sum() + df2 = pd.read_csv(path2) + abbr_dict = dict(zip(df2.iloc[:,[1,6]]['United States of America'],df2.iloc[:,[1,6]]['Unnamed: 6'])) + dftemp=df1['state'].map(abbr_dict) + df1.insert(loc=6,column='abbr',value=dftemp) + df1.iloc[6,6] = 'MS' + df1.iloc[10,6] = 'TN' + df3 = df1.groupby(['abbr']).sum() + return df3.plot.pie(y='Jan',figsize=(8,8)) +q10_total(path1,path2) diff --git a/q10_total/tests/__pycache__/__init__.cpython-36.pyc b/q10_total/tests/__pycache__/__init__.cpython-36.pyc index e3f7237..535ada9 100644 Binary files a/q10_total/tests/__pycache__/__init__.cpython-36.pyc and b/q10_total/tests/__pycache__/__init__.cpython-36.pyc differ diff --git a/q10_total/tests/__pycache__/tests.cpython-36.pyc b/q10_total/tests/__pycache__/tests.cpython-36.pyc index 4d3b233..c4f4fc9 100644 Binary files a/q10_total/tests/__pycache__/tests.cpython-36.pyc and b/q10_total/tests/__pycache__/tests.cpython-36.pyc differ