sportsref/nba/seasons.py
def roy_voting(self):
        """Returns a DataFrame containing information about ROY voting."""
        url = '{}/awards/awards_{}.html'.format(sportsref.nba.BASE_URL, self.yr)
        doc = pq(sportsref.utils.get_html(url))
        table = doc('table#roy')
        df = sportsref.utils.parse_table(table)
        return df
def roy_voting(self):
        url = '{}/awards/awards_{}.html'.format(sportsref.nba.BASE_URL, self.yr)
        doc = pq(sportsref.utils.get_html(url))
        table = doc('table#roy')
        df = sportsref.utils.parse_table(table)
        return df
def roy_voting ( self ) : url = '{}/awards/awards_{}.html' . format ( sportsref . nba . BASE_URL , self . yr ) doc = pq ( sportsref . utils . get_html ( url ) ) table = doc ( 'table#roy' ) df = sportsref . utils . parse_table ( table ) return df
Returns a DataFrame containing information about ROY voting.
Returns a DataFrame containing information about ROY voting .