<jupyter_start><jupyter_text>Imorting importatnt libraries.<jupyter_code>import seaborn as sns
import pandas as pd<jupyter_output>/usr/local/lib/python3.6/dist-packages/statsmodels/tools/_testing.py:19: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
  import pandas.util.testing as tm<jupyter_text>Reading the csv files<jupyter_code>odi=pd.read_csv("/content/CricinfoICC ODI Championship.csv")
odi
wodi=pd.read_csv("/content/CricinfoICC Women's ODI Team Rankings.csv")
wodi<jupyter_output><empty_output><jupyter_text>Trimming the team names<jupyter_code>def trim(x):
  a=x[:3]
  return a
odi['team']=odi['team'].apply(trim)
odi
wodi['team']=wodi['team'].apply(trim)
wodi<jupyter_output><empty_output><jupyter_text>Increasing the fontsize<jupyter_code>import matplotlib as mpb
mpb.rcParams['font.size']=25<jupyter_output><empty_output><jupyter_text>Plotting the barplot for team vs points<jupyter_code>import matplotlib.pyplot as plt
f,ax=plt.subplots(figsize=(20,10))

ax=sns.barplot('team','points',data=odi)<jupyter_output><empty_output><jupyter_text>Plotting the barplot for team vs rating<jupyter_code>f,ax=plt.subplots(figsize=(20,10))

ax=sns.barplot('team','rating',data=odi)<jupyter_output><empty_output><jupyter_text>Plotting the horizontal barplot for rating vs team.<jupyter_code>f,ax=plt.subplots(figsize=(20,10))

ax=sns.barplot('rating','team',data=odi)<jupyter_output><empty_output><jupyter_text>Plotting the horizontal barplot for rating vs team for women ODI data<jupyter_code>f,ax=plt.subplots(figsize=(20,10))

ax=sns.barplot('rating','team',data=wodi)<jupyter_output><empty_output><jupyter_text>Plotting the horizontal barplot for matches vs team<jupyter_code>f,ax=plt.subplots(figsize=(20,10))

ax=sns.barplot('matches','team',data=wodi)<jupyter_output><empty_output><jupyter_text>Plotting the horizontal barplot for team vs points and segregating them further on the basis of gender<jupyter_code>wodi['gender']='Female'
odi['gender']='Male'
odi
comb=pd.concat([wodi,odi],ignore_index=True)
comb
f,ax=plt.subplots(figsize=(20,10))

ax=sns.barplot('team','points',hue='gender',data=comb)<jupyter_output><empty_output><jupyter_text>Plotting the horizontal scatterplot for team vs matches and segregating them further on the basis of gender<jupyter_code>f,ax=plt.subplots(figsize=(20,10))
ax=sns.scatterplot('team','matches',hue='gender',data=comb)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13809910641754672, 'fraction_numerical': 0.01421608448415922, 'mean_word_length': 11.193069306930694, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 44, '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': '11', 'dir': 'jupyter-structured-clean-dedup', 'id': '168795', 'license': 'Apache-2.0', 'n_tokens_mistral': 965, 'n_tokens_neox': 904, 'n_words': 142, 'path': 'Project 10.2.b Data Visualization with ESPN cricinfo dataset.ipynb', 'repo_name': 'prithwish2/MachineLearning', 'size': '2462'}