def make_block_same_class(self, values, placement=None, ndim=None,<EOL>dtype=None):
if dtype is not None:<EOL><INDENT>warnings.warn("<STR_LIT>"<EOL>"<STR_LIT>", DeprecationWarning)<EOL><DEDENT>if placement is None:<EOL><INDENT>placement = self.mgr_locs<EOL><DEDENT>return make_block(values, placement=placement, ndim=ndim,<EOL>klass=self.__class__, dtype=dtype)<EOL>
Wrap given values in a block of same type as self.