# Import Libraries
import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
# Import data_set as csv
df = pd.read_csv("data.csv")
df.head()
Country vs Won
# Add Month Column
df['Month'] = df['Won_time'].str[3:5]
df['Month'] = df['Month'].astype(int)
df
Month vs Won
df['Country'].unique()
booleans = []
cn = input('Which Country you want to see? ')
print(cn)
for name in df.Country:
if name == cn:
booleans.append(True)
else:
booleans.append(False)
is_long = pd.Series(booleans)
custom_df = df[is_long]