Created
April 19, 2019 15:31
-
-
Save MLWhiz/9bbc95d2bfde5d6fed5bce837eca6ae5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pandas as pd | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
%matplotlib inline | |
# We dont Probably need the Gridlines. Do we? If yes comment this line | |
sns.set(style="ticks") | |
player_df = pd.read_csv("../input/data.csv") | |
numcols = [ | |
'Overall', | |
'Potential', | |
'Crossing','Finishing', 'ShortPassing', 'Dribbling','LongPassing', 'BallControl', 'Acceleration', | |
'SprintSpeed', 'Agility', 'Stamina', | |
'Value','Wage'] | |
catcols = ['Name','Club','Nationality','Preferred Foot','Position','Body Type'] | |
# Subset the columns | |
player_df = player_df[numcols+ catcols] | |
# Few rows of data | |
player_df.head(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment