EXPAND ALL
  • Home

count

This function counts the number of rows in the aggregate group. The count of rows is independent of which column this function is applied to. Each column should return the same number of rows.

Returns: INT64

The count.

Arguments

VariableTypeDescription
argFLOAT64 / INT64 / TIME64NS / BOOLEAN / STRING / UINT128The data on which to apply the function.

Examples:

df = df.agg(throughput_total=('latency_ms', px.count))
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.