def as_array(self, transpose=False, items=None):
if len(self.blocks) == <NUM_LIT:0>:<EOL><INDENT>arr = np.empty(self.shape, dtype=float)<EOL>return arr.transpose() if transpose else arr<EOL><DEDENT>if items is not None:<EOL><INDENT>mgr = self.reindex_axis(items, axis=<NUM_LIT:0>)<EOL><DEDENT>else:<EOL><INDENT>mgr = self<EOL><DEDENT>if self._is_single_block and mgr.blocks[<NUM_LIT:0>].is_datetimetz:<EOL><INDENT>arr = mgr.blocks[<NUM_LIT:0>].get_values(dtype=object)<EOL><DEDENT>elif self._is_single_block or not self.is_mixed_type:<EOL><INDENT>arr = np.asarray(mgr.blocks[<NUM_LIT:0>].get_values())<EOL><DEDENT>else:<EOL><INDENT>arr = mgr._interleave()<EOL><DEDENT>return arr.transpose() if transpose else arr<EOL>
Convert the blockmanager data into an numpy array.

        Parameters
        ----------
        transpose : boolean, default False
            If True, transpose the return array
        items : list of strings or None
            Names of block items that will be included in the returned
            array. ``None`` means that all block items will be used

        Returns
        -------
        arr : ndarray