How to get column stats of vertices/edges

Hello all,
I would like to display/query column-specific stats for all columns of vertices/edges (i.e. If column type is integer, would like to get stats like average, median, min, max or if string type, would like to get stats like distinct values, number of nulls). Does anyone have similar implementation or practice on this?

@eyeprem You will need to write a query to iterate through your data to extract those values. I’ve included some resources below to help you out. Using Accumulators like sum, min, max, avg you will be able to get the information you are looking for.

Resources

[docs] What is an Accumulator?
[docs] Sum Accum
[docs] Min/Max Accum
[docs] Avg Accum
[video] How to use Accumulators

1 Like