Skip to content

pull_up_aggregation

PullUpAggregationMethods

PullUpAggregationMethods(series, target_table)

Class that provides pull up aggregation methods to series.

Parameters:

  • series (Series) –

    Series to be used.

  • target_table (str) –

    The table to which the aggregation result should be pulled.

mean

mean()

Applies PU_AVG operator to given series.

Applies PU_AVG operator to column.

Returns:

  • Series

    Series after applying PU_AVG operator.

sum

sum()

Applies PU_SUM operator to given series.

Applies PU_SUM operator to column.

Returns:

  • Series

    Series after applying PU_SUM operator.

product

product()

Applies PU_PRODUCT operator to given series.

Applies PU_PRODUCT operator to column.

Returns:

  • Series

    Series after applying PU_PRODUCT operator.

count

count()

Applies PU_COUNT operator to given series.

Applies PU_COUNT operator to column.

Returns:

  • Series

    Series after applying PU_COUNT operator.

count_distinct

count_distinct()

Applies PU_COUNT_DISTINCT operator to given series.

Applies PU_COUNT_DISTINCT operator to column.

Returns:

  • Series

    Series after applying PU_COUNT_DISTINCT operator.

min

min()

Applies PU_MIN operator to given series.

Applies PU_MIN operator to column.

Returns:

  • Series

    Series after applying PU_MIN operator.

max

max()

Applies PU_MAX operator to given series.

Applies PU_MAX operator to column.

Returns:

  • Series

    Series after applying PU_MAX operator.

median

median()

Applies PU_MEDIAN operator to given series.

Applies PU_MEDIAN operator to column.

Returns:

  • Series

    Series after applying PU_MEDIAN operator.

mode

mode()

Applies PU_MODE operator to given series.

Applies PU_MODE operator to column.

Returns:

  • Series

    Series after applying PU_MODE operator.

std

std()

Applies PU_STDEV operator to given series.

Applies PU_STDEV operator to column.

Returns:

  • Series

    Series after applying PU_STDEV operator.