def _data(self, copy=False):
data = {}<EOL>for key, obj in self.__dict__.items():<EOL><INDENT>if isinstance(obj, (pd.Series, pd.DataFrame, pd.SparseSeries, pd.SparseDataFrame)):<EOL><INDENT>if copy:<EOL><INDENT>data[key] = obj.copy()<EOL><DEDENT>else:<EOL><INDENT>data[key] = obj<EOL><DEDENT><DEDENT><DEDENT>return data<EOL>
Get all data associated with the container as key value pairs.