fieldnamesStatistics

Get statistics of every column in the input table.

fieldnamesStatistics provides detailed information on the column for the input table.

Operator Usage in Easy Mode

  1. Click + on the parent node.
  2. Enter the Fieldnames Statistics operator in the search field and select the operator from the Results to open the operator form.
  3. In the Input Table drop-down, enter or select the table on which this operator runs to generate the statistics.
  4. Click Run to view the result.
  5. Click Save to add the operator to the playbook.
  6. Click Cancel to discard the operator form.

Usage Details

fieldnamesStatistics(inputTable: TableReference, valuesLimit:Long)

Input

  • inputTable (TableReference): The table on which this operator runs to generate the statistics.
  • valuesLimit (Long) (Optional): Total number of distinct values in the JSON output. The default is 100.

Output

A table containing the column names and their statistics, for example, non null count, distinct count, min, max, mean, and stdev.

Example

Input

nameIDfloatValIPlongVal
test112.3212.32.43.411341235253
lhub210.510.32.43.411341230253
fieldnamesStatistics(table)

Output

fieldnamedataTypecountdistinctCountminmaxmeanstdevvalues
namestring22NaNNaNNaNNaN[{"value":"test","count":1},{"value":"lhub","count":1}]
IDinteger221.02.01.50.7071067811865476[{"value":"1","count":1}]
floatValfloat2210.512.31999969482421911.409999847412111.286934125967652[{"value":"12.32","count":1}]
IPstring22NaNNaNNaNNaN[{"value":"12.32.43.41","count":1},{"value":"10.32.43.41","count":1}]
longValbigint221.341230253E91.341235253E91.341232753E93535.5339059327375[{"value":"1341235253","count":1}]

© Devo Technology Inc. All Rights Reserved.