ashishu007 commited on
Commit
f17ed45
1 Parent(s): 39a4bbb

Update sportsett_basketball.py

Browse files

added double stats to player line

Files changed (1) hide show
  1. sportsett_basketball.py +1 -0
sportsett_basketball.py CHANGED
@@ -598,6 +598,7 @@ class SportsettBasketball(datasets.GeneratorBasedBuilder):
598
  player_line = f"{player_line} <FT> {player_stats['FTM']} {player_stats['FTA']} {player_stats['FT_PCT']}"
599
  player_line = f"{player_line} <REB> {player_stats['TREB']} <AST> {player_stats['AST']} <STL> {player_stats['STL']}"
600
  player_line = f"{player_line} <BLK> {player_stats['BLK']} <DREB> {player_stats['DREB']} <OREB> {player_stats['OREB']} <TO> {player_stats['TOV']}"
 
601
  return player_line
602
 
603
  def get_box_score(self, entry, type='HOME'):
 
598
  player_line = f"{player_line} <FT> {player_stats['FTM']} {player_stats['FTA']} {player_stats['FT_PCT']}"
599
  player_line = f"{player_line} <REB> {player_stats['TREB']} <AST> {player_stats['AST']} <STL> {player_stats['STL']}"
600
  player_line = f"{player_line} <BLK> {player_stats['BLK']} <DREB> {player_stats['DREB']} <OREB> {player_stats['OREB']} <TO> {player_stats['TOV']}"
601
+ player_line = f"{player_line} <DOUBLE> {player_stats['DOUBLE']}"
602
  return player_line
603
 
604
  def get_box_score(self, entry, type='HOME'):