Question: Use the pandas function read_csv() to load the file match_map_stats.csv as a DataFrame. Name this DataFrame df. 1b) Print the first 5 rows of the

 Use the pandas function read_csv() to load the file match_map_stats.csv as a DataFrame. Name this DataFrame df.

1b) Print the first 5 rows of the DataFrame

1c) Print the column names in df

We have the following columns

  • round_start_time Stating time of the round
  • round_end_time Ending time of the round
  • stage Stage of the competition
  • match_id Id for the match
  • game_number Game number in the given match
  • match_winner Winner of the match
  • map_winner Winner of the game/map
  • map_loser Lost of the game/map
  • map_name Name of map
  • map_round Round number (each map has several rounds)
  • winning_team_final_map_score Final score of map winner
  • losing_team_final_map_score Final score of map loser
  • control_round_name Name of the round if it was a control type map
  • attacker Team that was the attacker
  • defender Team that was the defender
  • team_one_name Name of first team in match
  • team_two_name Name of second team in match
  • attacker_payload_distance Distance the attacker moved the payload on payload maps
  • defender_payload_distance
  • attacker_time_banked Attacker time left over
  • defender_time_banked Defender time left over
  • attacker_control_perecent Percent objective was charged by the attacker team
  • defender_control_perecent Percent objective was charged by the defender team
  • attacker_round_end_score Attacker score at the end of this round
  • defender_round_end_score Defender score at the end of this round





Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To accomplish the tasks provided we will start by using the pandas library in Python t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!