application_vnd.jupyter.stderr_output_1.png image_output_1.png
import pandas as pd

import seaborn as sns

battle = pd.read_csv('/kaggle/input/games-of-thrones/battles.csv')

battle.shape

battle.rename(columns={'attacker_1': 'primary_attacker'}, inplace=True)

battle.rename(columns={'defender_1': 'primary_defender'}, inplace=True)

sns.set(rc={'figure.figsize': (13, 5)})

sns.set(rc={'figure.figsize': (13, 5)})

death = pd.read_csv('/kaggle/input/character-deathscsv/character-deaths.csv')

death.shape

sns.countplot(data=death, x='Death Year')
plt.show()