module generic.column_group_operator
¶
Short summary¶
module pysqllike.generic.column_group_operator
Creates custom classes to interpret Python expression as column operations.
Classes¶
class |
truncated documentation |
---|---|
Defines an operation between two columns. |
|
defines the group function |
|
defines the group function |
Methods¶
method |
truncated documentation |
---|---|
returns the results of this operation between a list of columns |
|
returns the results of this operation between a list of columns, it returns |
|
returns the results of this operation between a list of columns |
|
Initiates the operator. |
|
|
Initiates the operator. |
|
Initiates the operator. |
usual |
|
usual |
|
usual |
Documentation¶
Creates custom classes to interpret Python expression as column operations.
- class pysqllike.generic.column_group_operator.ColumnGroupOperator¶
Bases:
ColumnOperator
Defines an operation between two columns.
Initiates the operator.
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __init__()¶
Initiates the operator.
- Parameters:
name – name of the column
- __str__()¶
usual
- class pysqllike.generic.column_group_operator.OperatorGroupAvg¶
Bases:
ColumnGroupOperator
defines the group function
avg
, the default value when the set is empty is NoneInitiates the operator.
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns, it returns
NA
for a null set
- __str__()¶
usual
- class pysqllike.generic.column_group_operator.OperatorGroupLen¶
Bases:
ColumnGroupOperator
defines the group function
len
Initiates the operator.
- Parameters:
name – name of the column
- __call__(columns)¶
returns the results of this operation between a list of columns
- __str__()¶
usual