How to calculate mean of a field considering only values ​​greater than 0 in ArcGIS field calculator/Arcpy?

220
1
Jump to solution
04-29-2021 06:03 AM
Labels (3)
badrinathkar
New Contributor III

I have to calculate the mean of a field considering only values ​​greater than 0.

Here is the table

Id

count

1

12

2

9

3

6

4

5

5

0

6

3

7

4

8

0

9

2

10

2

11

0

12

3

13

2

14

2

15

0

16

3

17

0

0 Kudos
1 Solution

Accepted Solutions
JoshuaBixby
MVP Esteemed Contributor
0 Kudos
1 Reply
JoshuaBixby
MVP Esteemed Contributor

@badrinathkar, this is a duplicate of https://community.esri.com/t5/arcmap-questions/how-to-calculate-mean-of-a-field-considering-only-val... which already has a response.  Please delete this one.

0 Kudos