AlloViz.AlloViz.Elements.Nodes._as_manager

Nodes._as_manager(typ: str, copy: bool = True) None

Private helper function to create a DataFrame with specific manager.

Parameters:
typ{“block”, “array”}
copybool, 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.