Created
October 26, 2021 12:48
-
-
Save michelkana/964367ba1526893624b1ee3719759c61 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 pandas as pd | |
df = pd.read_csv('https://gist.githubusercontent.com/michelkana/99a77e7dc656406025f0c09823dfc7b6/raw/74fdea4c4dbcb51141838d9d7adcd7ed83c936bd/Fortnite_players_stats.csv', index_col=0) | |
df = df.reset_index() | |
df['Minutes Played'] = df['Solo minutesPlayed'] + df['Duos minutesPlayed'] + | |
df['Trios minutesPlayed'] + df['Squads minutesPlayed'] + | |
df['LTM minutesPlayed'] | |
df['Score'] = df['Solo score'] + df['Duos score'] + | |
df['Trios score'] + df['Squads score'] + | |
df['LTM score'] | |
df.head() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment