data.get_batting_career()

Return a per-season batting career DataFrame for a MLB player ID string.

Usage

data.get_batting_career(player_id)

Columns: Season, Age, PA, AB, H, HR, AVG, OBP, SLG, OPS, ISO, BB%, K%. Multi-team seasons are aggregated by summing counting stats and recomputing all rate stats from the totals.