def as_series(self):
<EOL>return Series(self.__dict__)<EOL>
Returns a `pandas.Series` object with all the sample's attributes.

:return pandas.core.series.Series: pandas Series representation
    of this Sample, with its attributes.