@property<EOL><INDENT>def components(self):<DEDENT>
from pandas import DataFrame<EOL>columns = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL>hasnans = self._hasnans<EOL>if hasnans:<EOL><INDENT>def f(x):<EOL><INDENT>if isna(x):<EOL><INDENT>return [np.nan] * len(columns)<EOL><DEDENT>return x.components<EOL><DEDENT><DEDENT>else:<EOL><INDENT>def f(x):<EOL><INDENT>return x.components<EOL><DEDENT><DEDENT>result = DataFrame([f(x) for x in self], columns=columns)<EOL>if not hasnans:<EOL><INDENT>result = result.astype('<STR_LIT>')<EOL><DEDENT>return result<EOL>
Return a dataframe of the components (days, hours, minutes,
seconds, milliseconds, microseconds, nanoseconds) of the Timedeltas.

Returns
-------
a DataFrame