Skip to content

Series

Canonical path: Utils.TabularDataUtil.Series

Bases: list

One-dimensional array with axis labels

__eq__

__eq__(other: Any) -> Series

comparison of the series values with an other value

Parameters:

  • other (Any) –

    value to compare

Returns:

  • Series

    series with the comparison state

__ge__

__ge__(other: Any) -> Series

greater equal comparison of the series values with an other value

Parameters:

  • other (Any) –

    value to compare

Returns:

  • Series

    series with the comparison state

__getitem__

__getitem__(key: Union[int, str, slice]) -> Optional[Union[int, str, Series]]

Get items

Parameters:

  • key (Union[int, str, slice]) –

    it can be a column name or a range of row index

Returns:

  • Optional[Union[int, str, Series]]

    item for the index

__gt__

__gt__(other: Any) -> Series

greater comparison of the series values with an other value

Parameters:

  • other (Any) –

    value to compare

Returns:

  • Series

    series with the comparison state

__init__

__init__(
    data: Optional[Union[List[int], List[str]]] = None,
    axis: Optional[Union[List[int], List[str]]] = None,
    name: Union[int, str] = 0,
)

Initialization of class Series

Parameters:

  • data (Optional[Union[List[int], List[str]]], default: None ) –

    a list of row or column data

  • axis (Optional[Union[List[int], List[str]]], default: None ) –

    data labels, can be a list of int or str

  • name (Union[int, str], default: 0 ) –

    name of the modified property

__le__

__le__(other: Any) -> Series

less equal comparison of the series values with an other value

Parameters:

  • other (Any) –

    value to compare

Returns:

  • Series

    series with the comparison state

__lt__

__lt__(other: Any) -> Series

less comparison of the series values with an other value

Parameters:

  • other (Any) –

    value to compare

Returns:

  • Series

    series with the comparison state

__ne__

__ne__(other: Any) -> Series

unequal comparison of the series values with an other value

Parameters:

  • other (Any) –

    value to compare

Returns:

  • Series

    series with the comparison state

__repr__

__repr__() -> str

create a string from a series

Returns:

  • str

    series data a string

Placeholder