Skip to content

Series

Class full path: TabularDataUtil.Series

Bases: list

One-dimensional array with axis labels

Functions

__eq__(other)

comparison of the series values with an other value

Parameters:

Name Type Description Default
other Any

value to compare

required

Returns:

Type Description
Series

series with the comparison state

__ge__(other)

greater equal comparison of the series values with an other value

Parameters:

Name Type Description Default
other Any

value to compare

required

Returns:

Type Description
Series

series with the comparison state

__getitem__(key)

Get items

Parameters:

Name Type Description Default
key Union[int, str, slice]

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

required

Returns:

Type Description
Optional[Union[int, str, Series]]

item for the index

__gt__(other)

greater comparison of the series values with an other value

Parameters:

Name Type Description Default
other Any

value to compare

required

Returns:

Type Description
Series

series with the comparison state

__init__(data=None, axis=None, name=0)

Initialization of class Series

Parameters:

Name Type Description Default
data Optional[Union[List[int], List[str]]]

a list of row or column data

None
axis Optional[Union[List[int], List[str]]]

data labels, can be a list of int or str

None
name Union[int, str]

name of the modified property

0

__le__(other)

less equal comparison of the series values with an other value

Parameters:

Name Type Description Default
other Any

value to compare

required

Returns:

Type Description
Series

series with the comparison state

__lt__(other)

less comparison of the series values with an other value

Parameters:

Name Type Description Default
other Any

value to compare

required

Returns:

Type Description
Series

series with the comparison state

__ne__(other)

unequal comparison of the series values with an other value

Parameters:

Name Type Description Default
other Any

value to compare

required

Returns:

Type Description
Series

series with the comparison state

__operation(operator_fct, other)

execute a comparison operation of the series values with an other value

Parameters:

Name Type Description Default
operator_fct Callable

operator function

required
other Series

value to compare

required

Returns:

Type Description
Series

series

__repr__()

create a string from a series

Returns:

Type Description
str

series data a string