module generic.column_group_operator

Inheritance diagram of pysqllike.generic.column_group_operator

Short summary

module pysqllike.generic.column_group_operator

Creates custom classes to interpret Python expression as column operations.

source on GitHub

Classes

class

truncated documentation

ColumnGroupOperator

Defines an operation between two columns.

OperatorGroupAvg

defines the group function avg, the default value when the set is empty is None

OperatorGroupLen

defines the group function len

Methods

method

truncated documentation

__call__

returns the results of this operation between a list of columns

__call__

returns the results of this operation between a list of columns, it returns NA for a null set

__call__

returns the results of this operation between a list of columns

__init__

Initiates the operator.

__init__

Initiates the operator.

__init__

Initiates the operator.

__str__

usual

__str__

usual

__str__

usual

Documentation

Creates custom classes to interpret Python expression as column operations.

source on GitHub

class pysqllike.generic.column_group_operator.ColumnGroupOperator

Bases: ColumnOperator

Defines an operation between two columns.

source on GitHub

Initiates the operator.

Parameters:

name – name of the column

source on GitHub

__call__(columns)

returns the results of this operation between a list of columns

source on GitHub

__init__()

Initiates the operator.

Parameters:

name – name of the column

source on GitHub

__str__()

usual

source on GitHub

class pysqllike.generic.column_group_operator.OperatorGroupAvg

Bases: ColumnGroupOperator

defines the group function avg, the default value when the set is empty is None

source on GitHub

Initiates the operator.

Parameters:

name – name of the column

source on GitHub

__call__(columns)

returns the results of this operation between a list of columns, it returns NA for a null set

source on GitHub

__str__()

usual

source on GitHub

class pysqllike.generic.column_group_operator.OperatorGroupLen

Bases: ColumnGroupOperator

defines the group function len

source on GitHub

Initiates the operator.

Parameters:

name – name of the column

source on GitHub

__call__(columns)

returns the results of this operation between a list of columns

source on GitHub

__str__()

usual

source on GitHub