collegebaseball/ncaa_scraper.py
def lookup_seasons_played(stats_player_seq): 
    """
    A lookup function that gives the first and last seasons played by a
    given player
    
    Args: 
        stats_player_seq (int): NCAA player_id
   
    Returns: 
        tuple of ints: (debut season, most recent season)
    
    """
    row = _PLAYERS_HISTORY_LU_DF.loc[_PLAYERS_HISTORY_LU_DF.stats_player_seq == stats_player_seq]
    return row['debut_season'].values[0], row['season_last'].values[0]

    A lookup function that gives the first and last seasons played by a
    given player
    
    Args: 
        stats_player_seq (int): NCAA player_id
   
    Returns: 
        tuple of ints: (debut season, most recent season)
    
    
A lookup function that gives the first and last seasons played by a
given player
A lookup function that gives the first and last seasons played by a given player
def lookup_seasons_played(stats_player_seq): 
    row = _PLAYERS_HISTORY_LU_DF.loc[_PLAYERS_HISTORY_LU_DF.stats_player_seq == stats_player_seq]
    return row['debut_season'].values[0], row['season_last'].values[0]
def lookup_seasons_played ( stats_player_seq ) : row = _PLAYERS_HISTORY_LU_DF . loc [ _PLAYERS_HISTORY_LU_DF . stats_player_seq == stats_player_seq ] return row [ 'debut_season' ] . values [ 0 ] , row [ 'season_last' ] . values [ 0 ]
A lookup function that gives the first and last seasons played by a
given player
A lookup function that gives the first and last seasons played by a given player
"""
    A lookup function that gives the first and last seasons played by a
    given player
    
    Args: 
        stats_player_seq (int): NCAA player_id
   
    Returns: 
        tuple of ints: (debut season, most recent season)
    
    """
tuple of ints: (debut season, most recent season)
tuple of ints : ( debut season most recent season )
stats_player_seq
None