Zonalstats.valid_stats

Zonalstats.valid_stats = ['count', 'valid', 'nodata', 'min', 'max', 'mean', 'std', 'sum', 'median', 'mad', 'range', 'majority', 'minority', 'unique']

List of stats that can be computed. In addition to this list, “percentile_xx” is also a valid stat where xx is the percentile value, e.g. percentile_70