def make_stacked(self):
if self.stacked:<EOL><INDENT>return<EOL><DEDENT>self._boundaries = bounds = np.r_[<NUM_LIT:0>, np.cumsum(self.n_pts)]<EOL>self.stacked_features = stacked = np.vstack(self.features)<EOL>self.features = np.array(<EOL>[stacked[bounds[i-<NUM_LIT:1>]:bounds[i]] for i in xrange(<NUM_LIT:1>, len(bounds))],<EOL>dtype=object)<EOL>self.stacked = True<EOL>
If unstacked, convert to stacked. If stacked, do nothing.