Match

Easily analyze a single match of pickleball

The Match class is a convienient representation of a single pickleball Match. It will calculate basic stats for each player.


source

Match

 Match (match_id:str)

A class to represent a match of pickleball.

m = Match('M1')
m
Match(M1)

source

Match.sumarize_match

 Match.sumarize_match ()

prints a summary by calling the sumarize_game method for each game in the match

m.sumarize_match()
Anna Leigh Waters & Leigh Waters won 2 games to 1 against Jesse Irvine & Catherine Parenteau
Anna Leigh Waters & Leigh Waters beat Jesse Irvine & Catherine Parenteau 12-10 in game G1
             Player  Error %  Winner %
       Jesse Irvine    17.46      9.52
Catherine Parenteau     1.59      0.00
  Anna Leigh Waters     1.59      3.17
       Leigh Waters     9.52      4.76
Jesse Irvine & Catherine Parenteau beat Anna Leigh Waters & Leigh Waters 11-7 in game G2
             Player  Error %  Winner %
       Jesse Irvine     9.26      7.41
Catherine Parenteau     7.41      7.41
  Anna Leigh Waters     3.70      5.56
       Leigh Waters     5.56      3.70
Anna Leigh Waters & Leigh Waters beat Jesse Irvine & Catherine Parenteau 11-8 in game G3
             Player  Error %  Winner %
       Jesse Irvine    13.16      2.63
Catherine Parenteau     5.26      5.26
  Anna Leigh Waters     7.89      7.89
       Leigh Waters    10.53      0.00
match.columns
Index(['match_id', 'tourn_id', 'consol_ind', 'team_id_1', 'team_id_2',
       'maint_dtm', 'maint_app', 'create_dtm', 'create_app'],
      dtype='object')