Skip to content

Commit cc00014

Browse files
committed
Round values
1 parent 95a0355 commit cc00014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysketball/nba_team_stats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,6 @@ def nba_team_stats(nba_data, stats_filter=None, teams_filter=None,
130130
stats_filter = [stat for stat in stats_filter if stat not in (
131131
'NAME', 'TEAM', 'POS')]
132132
for stat in stats_filter:
133-
stats[stat] = nba_data.groupby(group_by).describe()[stat]
133+
stats[stat] = nba_data.groupby(group_by).describe().round(3)[stat]
134134

135135
return stats

0 commit comments

Comments
 (0)