Created
April 19, 2019 15:34
-
-
Save MLWhiz/7c66ca913b863f3d5d82dcdb3d9840b0 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
filtered_player_df = player_df[(player_df['Club'].isin(['FC Barcelona', 'Paris Saint-Germain', | |
'Manchester United', 'Manchester City', 'Chelsea', 'Real Madrid','FC Porto','FC Bayern München'])) & | |
(player_df['Nationality'].isin(['England', 'Brazil', 'Argentina', | |
'Brazil', 'Italy','Spain','Germany'])) | |
] | |
# Single line to create pairplot | |
g = sns.pairplot(filtered_player_df[['Value','SprintSpeed','Potential','Wage']]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment