@property<EOL><INDENT>def _from_selection(self):<DEDENT>
<EOL>return (self.groupby is not None and<EOL>(self.groupby.key is not None or<EOL>self.groupby.level is not None))<EOL>
Is the resampling from a DataFrame column or MultiIndex level.