Passing a list of player id's from statcast data is returning the following error:
ValueError: Usecols do not match columns, columns expected but not found: ['key_bbref', 'mlb_played_first', 'name_last', 'mlb_played_last', 'key_retro', 'key_fangraphs', 'name_first', 'key_mlbam']
I have tried with key_type='mlbam' and without a key_type specified.
Is there something wrong with how I'm using the function or is there a problem with the function itself? Please feel free to let me know if there is any other info I can provide to help figure out what's going on. Thanks!
Passing a list of player id's from statcast data is returning the following error:
ValueError: Usecols do not match columns, columns expected but not found: ['key_bbref', 'mlb_played_first', 'name_last', 'mlb_played_last', 'key_retro', 'key_fangraphs', 'name_first', 'key_mlbam']
The function call looks like this:
id_list = [666179, 608348, 656976, 572233, 663757, 673490, 595777, 543333, 444482, 606466] player_ids = playerid_reverse_lookup(id_list)
I have tried with key_type='mlbam' and without a key_type specified.
Is there something wrong with how I'm using the function or is there a problem with the function itself? Please feel free to let me know if there is any other info I can provide to help figure out what's going on. Thanks!