def consolidate(self):
if self.is_consolidated():<EOL><INDENT>return self<EOL><DEDENT>bm = self.__class__(self.blocks, self.axes)<EOL>bm._is_consolidated = False<EOL>bm._consolidate_inplace()<EOL>return bm<EOL>
Join together blocks having same dtype

Returns
-------
y : BlockManager