Skip to content

Frame

Frame is an abstraction of frames that behave like pandas.DataFrame and pandas.Series.

class Frame(object, metaclass=ABCMeta)

Contract

__getitem__

@abstractmethod
def __getitem__(
  self,
  key: Any) -> Any
class hello():
  def __getitem__(self, key):
    print(f"__getitem__({key})")

h = hello()

>>> h[4]
__getitem__(4)

_internal

@property
@abstractmethod
def _internal(
  self) -> InternalFrame

Implementations