Experimental
Computes grouped summary statistics for a numeric field and writes the result to CSV.
vector statistics table
| Name | Description | Required | Default |
|---|---|---|---|
input | Input vector layer. | Required | input.shp |
group_field | Grouping field name. | Required | CLASS |
value_field | Numeric value field name. | Required | VALUE |
output | Output CSV path. | Required | — |
Summarizes a value field by category.
wbe.vector_summary_statistics(group_field='CLASS', input='input.shp', output='summary.csv', value_field='VALUE')