parameters: (
          self: FrameOrSeries, typ: str, copy: bool_t = True
      )
return_statement: return self._constructor(new_mgr).__finalize__(self)
docstring: Private helper function to create a DataFrame with specific manager.
  
          Parameters
          ----------
          typ : {"block", "array"}
          copy : bool, default True
              Only controls whether the conversion from Block->ArrayManager
              copies the 1D arrays (to ensure proper/contiguous memory layout).
  
          Returns
          -------
          DataFrame
              New DataFrame using specified manager type. Is not guaranteed
              to be a copy or not.
docstring_summary: Private helper function to create a DataFrame with specific manager.
docstring_tokens: Private helper function to create a DataFrame with specific manager .
function: def _as_manager(
          self: FrameOrSeries, typ: str, copy: bool_t = True
      ) -> FrameOrSeries:
          """
          Private helper function to create a DataFrame with specific manager.
  
          Parameters
          ----------
          typ : {"block", "array"}
          copy : bool, default True
              Only controls whether the conversion from Block->ArrayManager
              copies the 1D arrays (to ensure proper/contiguous memory layout).
  
          Returns
          -------
          DataFrame
              New DataFrame using specified manager type. Is not guaranteed
              to be a copy or not.
          """
          new_mgr: Manager
          new_mgr = mgr_to_mgr(self._mgr, typ=typ, copy=copy)
          # fastpath of passing a manager doesn't check the option/manager class
          return self._constructor(new_mgr).__finalize__(self)
function_tokens: def _as_manager ( self : FrameOrSeries , typ : str , copy : bool_t = True ) -> FrameOrSeries : new_mgr : Manager new_mgr = mgr_to_mgr ( self . _mgr , typ = typ , copy = copy ) # fastpath of passing a manager doesn't check the option/manager class return self . _constructor ( new_mgr ) . __finalize__ ( self )