@sportsref.decorators.memoize<EOL><INDENT>@sportsref.decorators.kind_rpb(include_type=True)<EOL>def gamelog(self, year=None, kind='<STR_LIT:R>'):<DEDENT>
url = self._subpage_url('<STR_LIT>', None)  <EOL>doc = pq(sportsref.utils.get_html(url))<EOL>table = (doc('<STR_LIT>') if kind == '<STR_LIT:R>' else<EOL>doc('<STR_LIT>'))<EOL>df = sportsref.utils.parse_table(table)<EOL>if year is not None:<EOL><INDENT>df = df.query('<STR_LIT>').reset_index(drop=True)<EOL><DEDENT>return df<EOL>
Gets the career gamelog of the given player.
        :kind: One of 'R', 'P', or 'B' (for regular season, playoffs, or both).
        Case-insensitive; defaults to 'R'.
        :year: The year for which the gamelog should be returned; if None,
        return entire career gamelog. Defaults to None.
        :returns: A DataFrame with the player's career gamelog.