sportsref/nba/seasons.py
def _get_team_stats_table(self, selector):
        """Helper function for stats tables on season pages. Returns a
        DataFrame."""
        doc = self.get_main_doc()
        table = doc(selector)
        df = sportsref.utils.parse_table(table)
        df.set_index('team_id', inplace=True)
        return df
def _get_team_stats_table(self, selector):
        doc = self.get_main_doc()
        table = doc(selector)
        df = sportsref.utils.parse_table(table)
        df.set_index('team_id', inplace=True)
        return df
def _get_team_stats_table ( self , selector ) : doc = self . get_main_doc ( ) table = doc ( selector ) df = sportsref . utils . parse_table ( table ) df . set_index ( 'team_id' , inplace = True ) return df
Helper function for stats tables on season pages. Returns a
        DataFrame.
Helper function for stats tables on season pages . Returns a DataFrame .