<?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 Summary Statistics: Why do output tables have duplicate case field values? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580768#M19234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am an &lt;STRONG&gt;ArcGIS 10.2.1&lt;/STRONG&gt; user. Recently, I used &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;summary statistics&lt;/SPAN&gt; &lt;/STRONG&gt;tool to obtain &lt;STRONG&gt;mean &lt;/STRONG&gt;values for each unique `water quality parameter` measured on different days at various monitoring stations. The input table is fairly large, it has approximately 2 million rows. I used the field that has the names of the `water quality parameters` as &lt;STRONG&gt;case field&lt;/STRONG&gt; in order to obtain the mean for each unique parameter. When I checked the output table, I noticed that some parameters were duplicated. Having observed this unexpected result, I decided to use &lt;STRONG&gt;frequency &lt;/STRONG&gt;tool to check whether a similar duplication would also occur with this tool or not. The frequency output table also included duplicate `water quality parameter` rows. I attach the screen capture of the first output table delivered by `summary statistics` tool to this post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Jun 2015 23:13:00 GMT</pubDate>
    <dc:creator>KeremGungor</dc:creator>
    <dc:date>2015-06-14T23:13:00Z</dc:date>
    <item>
      <title>Summary Statistics: Why do output tables have duplicate case field values?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580768#M19234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am an &lt;STRONG&gt;ArcGIS 10.2.1&lt;/STRONG&gt; user. Recently, I used &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;summary statistics&lt;/SPAN&gt; &lt;/STRONG&gt;tool to obtain &lt;STRONG&gt;mean &lt;/STRONG&gt;values for each unique `water quality parameter` measured on different days at various monitoring stations. The input table is fairly large, it has approximately 2 million rows. I used the field that has the names of the `water quality parameters` as &lt;STRONG&gt;case field&lt;/STRONG&gt; in order to obtain the mean for each unique parameter. When I checked the output table, I noticed that some parameters were duplicated. Having observed this unexpected result, I decided to use &lt;STRONG&gt;frequency &lt;/STRONG&gt;tool to check whether a similar duplication would also occur with this tool or not. The frequency output table also included duplicate `water quality parameter` rows. I attach the screen capture of the first output table delivered by `summary statistics` tool to this post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 23:13:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580768#M19234</guid>
      <dc:creator>KeremGungor</dc:creator>
      <dc:date>2015-06-14T23:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistics: Why do output tables have duplicate case field values?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580769#M19235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming you highligted those manually and the red boxes don't necessarily represent the full string contents.&lt;/P&gt;&lt;P&gt;So...have you checked for trailing space? The eyes are deceiving&lt;/P&gt;&lt;P&gt;​For example...in Python&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; a = "abcde "
&amp;gt;&amp;gt;&amp;gt; print a
abcde
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt; b = a.rstrip()
&amp;gt;&amp;gt;&amp;gt; print b
abcde&lt;/PRE&gt;&lt;P&gt;a and b differ in that 'a' has a trailing space and 'b' doesn't&lt;/P&gt;&lt;P&gt;see &lt;STRONG&gt;lstrip, strip and rstrip&lt;/STRONG&gt; in the python literature...there are equivalents for VB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:58:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580769#M19235</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T00:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistics: Why do output tables have duplicate case field values?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580770#M19236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should move this thread to &lt;STRONG&gt;Geoprocessing&lt;/STRONG&gt; where it will get a broader audience​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 23:57:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580770#M19236</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-06-14T23:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistics: Why do output tables have duplicate case field values?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580771#M19237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be a common issue with text fields. You could possibly get around it using a &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//001s00000001000000"&gt;domain based field&lt;/A&gt; if the number of options is not excessive.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 00:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580771#M19237</guid>
      <dc:creator>OwenEarley</dc:creator>
      <dc:date>2015-06-16T00:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistics: Why do output tables have duplicate case field values?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580772#M19238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used &lt;STRONG&gt;strip &lt;/STRONG&gt;function in &lt;STRONG&gt;Calculate Field &lt;/STRONG&gt;tool and duplication problem went away. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 19:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/summary-statistics-why-do-output-tables-have/m-p/580772#M19238</guid>
      <dc:creator>KeremGungor</dc:creator>
      <dc:date>2015-06-16T19:00:53Z</dc:date>
    </item>
  </channel>
</rss>

