def team_abbreviation(self):
        """
        Returns a ``string`` of the team's abbreviation, such as 'DET' for the
        Detroit Red Wings.
        """
        # For career stats, skip the team abbreviation.
        if self._season[self._index].lower() == 'career':
            return None
        return self._team_abbreviation[self._index]
def team_abbreviation ( self ) : if self . _season [ self . _index ] . lower ( ) == 'career' : return None return self . _team_abbreviation [ self . _index ]
Returns a ``string`` of the team's abbreviation, such as 'DET' for the
        Detroit Red Wings.