graviti.dataframe.container#

The table-structured data container related classes.

Module Contents#

Classes#

Container

The base class for the table-structured data container.

class graviti.dataframe.container.Container[source]#

The base class for the table-structured data container.

property iloc(self)[source]#

Purely integer-location based indexing for selection by position.

Raises

NotImplementedError – The method of the base class should not be called.

Return type

Any

property loc(self)[source]#

Access the row by index.

Raises

NotImplementedError – The method of the base class should not be called.

Return type

Any

abstract to_pylist(self, *, _to_backend=False)[source]#

Convert the container to a python list.

Raises

NotImplementedError – The method of the base class should not be called.

Parameters

_to_backend (bool) –

Return type

List[Any]

abstract to_pandas(self)[source]#

Convert the graviti Container to a pandas Series or DataFrame.

Raises

NotImplementedError – The method of the base class should not be called.

Return type

Union[pandas.Series, pandas.DataFrame]

copy(self)[source]#

Get a copy of the container.

Returns

A copy of the container.

Parameters

self (_T) –

Return type

_T