Skip to content

DataFrame

DataFrame is a Frame with an InternalFrame.

DataFrame is a Generic[T] (Python).

Creating Instance

DataFrame takes the following to be created:

  • data (optional)
  • index (optional)
  • columns (optional)
  • dtype (optional)
  • copy (optional)

_internal_frame

DataFrame is given or creates an InternalFrame when created.

object.__setattr__(self, "_internal_frame", internal)

InternalFrame

Frame
@property
def _internal(
    self) -> InternalFrame

_internal is part of the Frame abstraction.

_internal returns the _internal_frame (that is expected to be of type InternalFrame).