Skip to content


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)


DataFrame is given or creates an InternalFrame when created.

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


def _internal(
    self) -> InternalFrame

_internal is part of the Frame abstraction.

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