def _try_coerce_result(self, result):
<EOL>if ((not is_categorical_dtype(result)) and<EOL>isinstance(result, np.ndarray)):<EOL><INDENT>result = _block_shape(result, ndim=self.ndim)<EOL><DEDENT>return result<EOL>
reverse of try_coerce_args