collegebaseball/ncaa_scraper.py
def lookup_season_ids_reverse(season_id):
    """
    A lookup function that returns the season and batting/pitching ids
    for a given season
    
    Args: 
        season_id (int): NCAA season_id
    
    Returns:
        tuple of (season_id, batting_id, pitching_id) for desired season
    """
    season_row = _SEASON_LU_DF.loc[_SEASON_LU_DF['season_id'] == season_id]
    season = season_row['season'].values[0]
    batting_id = season_row['batting_id'].values[0]
    pitching_id = season_row['pitching_id'].values[0]
    return (season, batting_id, pitching_id)

    A lookup function that returns the season and batting/pitching ids
    for a given season
    
    Args: 
        season_id (int): NCAA season_id
    
    Returns:
        tuple of (season_id, batting_id, pitching_id) for desired season
    
A lookup function that returns the season and batting/pitching ids
for a given season
A lookup function that returns the season and batting / pitching ids for a given season
def lookup_season_ids_reverse(season_id):
    season_row = _SEASON_LU_DF.loc[_SEASON_LU_DF['season_id'] == season_id]
    season = season_row['season'].values[0]
    batting_id = season_row['batting_id'].values[0]
    pitching_id = season_row['pitching_id'].values[0]
    return (season, batting_id, pitching_id)
def lookup_season_ids_reverse ( season_id ) : season_row = _SEASON_LU_DF . loc [ _SEASON_LU_DF [ 'season_id' ] == season_id ] season = season_row [ 'season' ] . values [ 0 ] batting_id = season_row [ 'batting_id' ] . values [ 0 ] pitching_id = season_row [ 'pitching_id' ] . values [ 0 ] return ( season , batting_id , pitching_id )
A lookup function that returns the season and batting/pitching ids
for a given season
A lookup function that returns the season and batting / pitching ids for a given season
"""
    A lookup function that returns the season and batting/pitching ids
    for a given season
    
    Args: 
        season_id (int): NCAA season_id
    
    Returns:
        tuple of (season_id, batting_id, pitching_id) for desired season
    """
tuple of (season_id, batting_id, pitching_id) for desired season
tuple of ( season_id batting_id pitching_id ) for desired season
season_id
None