sportsref/nba/seasons.py
def get_team_ids(self):
        """Returns a list of the team IDs for the given year.
        :returns: List of team IDs.
        """
        df = self.team_stats_per_game()
        if not df.empty:
            return df.index.tolist()
        else:
            print('ERROR: no teams found')
            return []
def get_team_ids(self):
        """Returns a list of the team IDs for the given year.
        :returns: List of team IDs.
        """
        df = self.team_stats_per_game()
        if not df.empty:
            return df.index.tolist()
        else:
            print('ERROR: no teams found')
            return []
def get_team_ids ( self ) : df = self . team_stats_per_game ( ) if not df . empty : return df . index . tolist ( ) else : print ( 'ERROR: no teams found' ) return [ ]
Returns a list of the team IDs for the given year.
        :returns: List of team IDs.
Returns a list of the team IDs for the given year . : returns : List of team IDs .