@sportsref.decorators.memoize<EOL><INDENT>def schedule(self, year):<DEDENT>
doc = self.get_year_doc(year)<EOL>table = doc('<STR_LIT>')<EOL>df = sportsref.utils.parse_table(table)<EOL>if df.empty:<EOL><INDENT>return pd.DataFrame()<EOL><DEDENT>df = df.loc[df['<STR_LIT>'].notnull()]<EOL>df['<STR_LIT>'] = np.arange(len(df)) + <NUM_LIT:1><EOL>df['<STR_LIT>'] = df['<STR_LIT>'] == '<STR_LIT>'<EOL>df['<STR_LIT>'] = df['<STR_LIT>'] == '<STR_LIT:L>'<EOL>df['<STR_LIT>'] = df['<STR_LIT>'] == '<STR_LIT:T>'<EOL>df['<STR_LIT>'] = df['<STR_LIT>'].isnull()<EOL>df['<STR_LIT>'] = df['<STR_LIT>'].notnull()<EOL>return df<EOL>
Returns a DataFrame with schedule information for the given year.

        :year: The year for the season in question.
        :returns: Pandas DataFrame with schedule information.