Experimental

Computes grouped summary statistics for a numeric field and writes the result to CSV.

vector statistics table

Parameters

NameDescriptionRequiredDefault
inputInput vector layer.Requiredinput.shp
group_fieldGrouping field name.RequiredCLASS
value_fieldNumeric value field name.RequiredVALUE
outputOutput CSV path.Required

Examples

Summarizes a value field by category.

wbe.vector_summary_statistics(group_field='CLASS', input='input.shp', output='summary.csv', value_field='VALUE')

Project Links

WbW Homepage User Manual Learn More