<jupyter_start><jupyter_text>Performance of Top 10 Countries Based on Summer, Winter & Overall<jupyter_code>fig, (ax_1, ax_2, ax_3) = plt.subplots(3,1, figsize=(12,30))
plt.subplots_adjust(hspace=0.5)
df['Total_Points'] = df['Gold_Total']*3 + df['Silver_Total']*2 + df['Bronze_Total']
top_10_summer = df.nlargest(10, 'Total_Summer').set_index('Country_Name')
top_10_summer[['Gold_Summer', 'Silver_Summer', 'Bronze_Summer']].plot(kind='bar', ax=ax_1)
ax_1.set(title='Top 10 Country in Summer')
top_10_winter = df.nlargest(10, 'Total_Winter').set_index('Country_Name')
top_10_winter[['Gold_Winter', 'Silver_Winter', 'Bronze_Winter']].plot(kind='bar', ax=ax_2)
ax_2.set(title='Top 10 Country in Winter')
top_10 = df.nlargest(10, 'Total_Points').set_index('Country_Name')
top_10[['Gold_Total', 'Silver_Total', 'Bronze_Total']].plot(kind='bar', ax=ax_3)
ax_3.set(title='Top 10 Country')<jupyter_output><empty_output><jupyter_text>Winter & Summer Performance of Top 10 Countries<jupyter_code>top_10[['Total_Summer', 'Total_Winter']].plot(kind='bar', figsize=(12, 8))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1798165137614679, 'fraction_numerical': 0.047706422018348627, 'mean_word_length': 11.397727272727273, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '592974', 'license': 'MIT', 'n_tokens_mistral': 474, 'n_tokens_neox': 425, 'n_words': 63, 'path': 'Olympics_Data_Visualization/visualization.ipynb', 'repo_name': 'Anupam96786/greyatom-python-for-data-science', 'size': '1090'}