<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculate summary statistics in Python - return result NOT a table in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262378#M20187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh, well in that case, you can still do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; arcpy.env.workspace = r'C:\YOUR GDB.gdb'
&amp;gt;&amp;gt;&amp;gt; fc = 'YOUR FC'
&amp;gt;&amp;gt;&amp;gt; rows = arcpy.SearchCursor(fc)
&amp;gt;&amp;gt;&amp;gt; area = 0.0
&amp;gt;&amp;gt;&amp;gt; for row in rows:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; area += row.Shape.area
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;gt;&amp;gt;&amp;gt; print area
471790363.853
&amp;gt;&amp;gt;&amp;gt;&amp;nbsp; 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 12:51:55 GMT</pubDate>
    <dc:creator>T__WayneWhitley</dc:creator>
    <dc:date>2021-12-11T12:51:55Z</dc:date>
    <item>
      <title>Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262371#M20180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to use python to calculate the area of a number of different fields (using where clauses to filter results) and then output results to my own text file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The summary statistics tool lets you output a separate table but I don't want an external table: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Summary_Statistics/00080000001z000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Summary_Statistics/00080000001z000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want to return the results within python, eg:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- create selection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- return sum area for a field within that selection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- do something with the returned result&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do this without creating separate tables in dbf? It must be really simple to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 12:28:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262371#M20180</guid>
      <dc:creator>MikeTree</dc:creator>
      <dc:date>2013-08-05T12:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262372#M20181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Python and arcpy offers you a lot of flexibility.&amp;nbsp; On the face of things, sounds like you may want to perhaps use a cursor with a query to filter the return, then you can within a loop gain access to area and tally it up, see this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SearchCursor (arcpy.da)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Desktop » Geoprocessing » ArcPy » Data Access module&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000011000000" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000011000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice access to geometry properties with a token, as in your case for area:&amp;nbsp; SHAPE@AREA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for your other question about not returning separate tables, but maybe you want some output in-memory, see the below link particularly the section about &lt;/SPAN&gt;&lt;STRONG&gt;Using in_memory in Python&lt;/STRONG&gt;&lt;SPAN&gt; (if all you want is area as in the above example, you don't need an output workspace).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using in-memory workspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Desktop » Geoprocessing » ModelBuilder&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002w0000005s000000" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//002w0000005s000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...that should at least get you started - you can follow-up with more specific questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enjoy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wayne&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The SearchCursor example 3, quickly modified to sum area (untested):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy&amp;nbsp; fc = "c:/data/base.gdb/well" areaTotal = 0.0&amp;nbsp; # For each row print the Object ID field, and use the SHAPE@AREA #&amp;nbsp; token to access geometry properties # with arcpy.da.SearchCursor(fc, ("OID@", "SHAPE@AREA")) as cursor: &amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print("Feature {0} has an area of {1}".format(row[0], row[1]))&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; areaTotal += row[1]&amp;nbsp; print("Features have a total area of {0}".format(areaTotal))&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Refer to one of the other examples to add an expression to the cursor in order to tally area on a feature subset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 12:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262372#M20181</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2013-08-05T12:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262373#M20182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use the Pandas Package for getting summary stuff.&amp;nbsp; The DataFrame (not an ArcGIS "DataFrame" concept) is really powerful for building and shaping data to meet your needs --- I incorporate it into matplotlib Package for generating hydrographs, but there is just a ton of functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://pypi.python.org/pypi/pandas" rel="nofollow noopener noreferrer" target="_blank"&gt;https://pypi.python.org/pypi/pandas&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example below shows a normal array/list that was populated with some data and getting min/max values from the date field:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
#set the pandas dataframe to the array
dbhydDF = DataFrame(datArray, columns=['site', 'value', 'dateread'])

#get min/max date values&amp;nbsp;&amp;nbsp;&amp;nbsp; 
dmax = dbhydDF.dateread.max()
dmin = dbhydDF.dateread.min()

#not tested, but I think you just issue .sum to get a sum value from the appropriate field
dsum = dbhydDF.value.sum()
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:51:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262373#M20182</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2021-12-11T12:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262374#M20183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks folks. I couldn't find a way to do what I needed, so I just ended up creating a table (in a GDB) using the arcpy.Statistics_analysis tool, extracting the value from the table using a searchcursor, and then overwriting the table each time. A bit of a go-around, but it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone can think of a better way then I'd be keen to hear. Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 10:31:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262374#M20183</guid>
      <dc:creator>MikeTree</dc:creator>
      <dc:date>2013-08-06T10:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262375#M20184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks folks. I couldn't find a way to do what I needed, so I just ended up creating a table (in a GDB) using the arcpy.Statistics_analysis tool, extracting the value from the table using a searchcursor, and then overwriting the table each time. A bit of a go-around, but it works.&lt;BR /&gt;&lt;BR /&gt;If anyone can think of a better way then I'd be keen to hear. Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't think of it at the time, but yes there is a much better solution -- especially if you are not wanting to write to disk....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureClassToNumPyArray&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000015000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000015000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The example even has your requirement to sum a field!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;james&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 10:50:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262375#M20184</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2013-08-06T10:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262376#M20185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I just want to return the results within python, eg:&lt;BR /&gt;- create selection&lt;BR /&gt;- return sum area for a field within that selection&lt;BR /&gt;- do something with the returned result&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure why Waynes answer didn't work for you?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use this code all the time (in my case, I switch the scale of a map depending on how large my areas are).&amp;nbsp; This will "return sum area for a field within that selection" for the selected features (or, features that match def query in mxd). Which is now just a number that you can "do something with".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just need to make sure that the selection or def query (however you are limiting your results) is put on the layer before you searchcursor the area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; warea = 0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with arcpy.da.SearchCursor(lyr1, "SHAPE@AREA") as cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; warea += row[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; del cursor
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:51:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262376#M20185</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-11T12:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262377#M20186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the tips - I'm using 10.0 so don't have access to arcpy.da, but am keen to use it before too long!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 13:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262377#M20186</guid>
      <dc:creator>MikeTree</dc:creator>
      <dc:date>2013-08-14T13:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262378#M20187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh, well in that case, you can still do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; import arcpy
&amp;gt;&amp;gt;&amp;gt; arcpy.env.workspace = r'C:\YOUR GDB.gdb'
&amp;gt;&amp;gt;&amp;gt; fc = 'YOUR FC'
&amp;gt;&amp;gt;&amp;gt; rows = arcpy.SearchCursor(fc)
&amp;gt;&amp;gt;&amp;gt; area = 0.0
&amp;gt;&amp;gt;&amp;gt; for row in rows:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; area += row.Shape.area
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;gt;&amp;gt;&amp;gt; print area
471790363.853
&amp;gt;&amp;gt;&amp;gt;&amp;nbsp; 
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262378#M20187</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2021-12-11T12:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262379#M20188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Precisely, many thanks. That method works, and note I used the following line to filter out WHERE clause queries that resulted in empty records being returned:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;if arcpy.SearchCursor(activelayer).next() == None:&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However this is quite a slow way to essentially do a non-spatial database operation, which spawned me to ask this question over at another site, &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/68205/non-spatial-database-analysis-in-arcgis-need-alternative-solution"&gt;http://gis.stackexchange.com/questions/68205/non-spatial-database-analysis-in-arcgis-need-alternative-solution&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone has any tips on how best to trawl through my data I'd be very grateful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 14:04:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262379#M20188</guid>
      <dc:creator>MikeTree</dc:creator>
      <dc:date>2013-08-14T14:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate summary statistics in Python - return result NOT a table</title>
      <link>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262380#M20189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;....if I am understanding correctly the entire situation, you may optionally apply what I call a 'query filter' to the cursor as the following which was applied to the same dataset I used in my last post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;gt;&amp;gt;&amp;gt; where_clause = arcpy.AddFieldDelimiters(fc, 'UNIT') + ' IS NOT NULL'
&amp;gt;&amp;gt;&amp;gt; print where_clause
"UNIT" IS NOT NULL
 
&amp;gt;&amp;gt;&amp;gt; rows = arcpy.SearchCursor(fc, where_clause, '', 'Shape; UNIT')
 
&amp;gt;&amp;gt;&amp;gt; area = 0.0
&amp;gt;&amp;gt;&amp;gt; for row in rows:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; area += row.Shape.area
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;gt;&amp;gt;&amp;gt; print area
17385325.4074
&amp;gt;&amp;gt;&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:51:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/calculate-summary-statistics-in-python-return/m-p/262380#M20189</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2021-12-11T12:51:58Z</dc:date>
    </item>
  </channel>
</rss>

