text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

path = '../input/data.csv'
df = pd.read_csv(path)

df.columns

df = df.drop(['Unnamed: 0', 'ID', 'Position', 'Name', 'Photo', 'Nationality', 'Potential', 'Flag', 'Club', 'Club Logo', 'Value', 'Wage', 'Special', 'Preferred Foot', 'International Reputation', 'Weak Foot', 'Skill Moves', 'Work Rate', 'Body Type', 'Real Face', 'Jersey Number', 'Joined', 'Loaned From', 'Contract Valid Until', 'Release Clause', 'LS', 'ST', 'RS', 'LW', 'LF', 'CF', 'RF', 'RW', 'LAM', 'CAM', 'RAM', 'LM', 'LCM', 'CM', 'RCM', 'RM', 'LWB', 'LDM', 'CDM', 'RDM', 'RWB', 'LB', 'LCB', 'CB', 'RCB', 'RB', 'Height', 'Weight'], 1)

df.columns

df = df.dropna()
df.isnull().sum()

f , axes = plt.subplots(figsize = (10,5))
ax = sns.countplot('Age', data = df)
plt.ylabel('Number of players')

f, axes = plt.subplots(figsize=(20, 5))
ax = sns.countplot('Overall', data=df)
plt.ylabel('Number of players')
plt.xlabel('Overall Score')