@sportsref.decorators.memoize<EOL><INDENT>def def_splits(self, year):<DEDENT>
doc = self.get_year_doc('<STR_LIT>'.format(year))<EOL>tables = doc('<STR_LIT>')<EOL>dfs = [sportsref.utils.parse_table(table) for table in tables.items()]<EOL>dfs = [<EOL>df.assign(split=df.columns[<NUM_LIT:0>])<EOL>.rename(columns={df.columns[<NUM_LIT:0>]: '<STR_LIT>'})<EOL>for df in dfs<EOL>]<EOL>if not dfs:<EOL><INDENT>return pd.DataFrame()<EOL><DEDENT>return pd.concat(dfs).reset_index(drop=True)<EOL>
Returns a DataFrame of defensive team splits (i.e. opponent splits)
        for a season.

        :year: int representing the season.
        :returns: Pandas DataFrame of split data.