<?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 Using arcpy tools to extract means from one table and join them to another in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-arcpy-tools-to-extract-means-from-one-table/m-p/1060775#M61209</link>
    <description>&lt;DIV&gt;&lt;DIV class="grid fd-column fw-nowrap"&gt;&lt;DIV class="grid fw-nowrap"&gt;&lt;DIV class="grid--cell wmn0 fl1 lh-lg"&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="grid--cell wmn0 fl1 lh-lg"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="grid--cell wmn0 fl1 lh-lg"&gt;&lt;SPAN&gt;I have a shape file and two tables, a data and a link table. the shape file is at one, coarser level of governance, the data table is at a finer level of governance and the link table contains both levels of governance, allowing me to link them through a table join. (this will make sense with screenshots i promise)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I need to workout the mean participation value from the data table for the coarser level of governance, what this means is i have multiple values from the finer level that i need to calculate the mean for then link to the coarser level. I've tried using the summary statistics tool on a joined then exported table with casefields but the return seems to be an integer,&amp;nbsp;&lt;SPAN&gt;not a float&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshots&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielFuller_3-1621770320916.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13965i15DD7421C76725EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielFuller_3-1621770320916.png" alt="DanielFuller_3-1621770320916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Feature layer table, working field is NUTS315CD/NUTS315NM&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielFuller_4-1621770334323.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13966i56D8098926A38D2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielFuller_4-1621770334323.png" alt="DanielFuller_4-1621770334323.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Link table, Contains NUTS318CD(same codes as the previous table just different naming convention) and finer level of governance codes needed to link to the data table&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielFuller_5-1621770346654.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13967iF86707A0DC1E096F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielFuller_5-1621770346654.png" alt="DanielFuller_5-1621770346654.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;data table, county is the same as LAD16C from the link table, participation is the data i need to calculate the mean for&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielFuller_6-1621770386149.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13968iA127821FFF412FFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielFuller_6-1621770386149.png" alt="DanielFuller_6-1621770386149.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;merged table that i'm trying to run tools on&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any pointers for tools or scripts?&lt;/P&gt;</description>
    <pubDate>Sun, 23 May 2021 11:48:15 GMT</pubDate>
    <dc:creator>DanielFuller</dc:creator>
    <dc:date>2021-05-23T11:48:15Z</dc:date>
    <item>
      <title>Using arcpy tools to extract means from one table and join them to another</title>
      <link>https://community.esri.com/t5/python-questions/using-arcpy-tools-to-extract-means-from-one-table/m-p/1060775#M61209</link>
      <description>&lt;DIV&gt;&lt;DIV class="grid fd-column fw-nowrap"&gt;&lt;DIV class="grid fw-nowrap"&gt;&lt;DIV class="grid--cell wmn0 fl1 lh-lg"&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="grid--cell wmn0 fl1 lh-lg"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="grid--cell wmn0 fl1 lh-lg"&gt;&lt;SPAN&gt;I have a shape file and two tables, a data and a link table. the shape file is at one, coarser level of governance, the data table is at a finer level of governance and the link table contains both levels of governance, allowing me to link them through a table join. (this will make sense with screenshots i promise)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I need to workout the mean participation value from the data table for the coarser level of governance, what this means is i have multiple values from the finer level that i need to calculate the mean for then link to the coarser level. I've tried using the summary statistics tool on a joined then exported table with casefields but the return seems to be an integer,&amp;nbsp;&lt;SPAN&gt;not a float&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshots&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielFuller_3-1621770320916.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13965i15DD7421C76725EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielFuller_3-1621770320916.png" alt="DanielFuller_3-1621770320916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Feature layer table, working field is NUTS315CD/NUTS315NM&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielFuller_4-1621770334323.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13966i56D8098926A38D2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielFuller_4-1621770334323.png" alt="DanielFuller_4-1621770334323.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Link table, Contains NUTS318CD(same codes as the previous table just different naming convention) and finer level of governance codes needed to link to the data table&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielFuller_5-1621770346654.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13967iF86707A0DC1E096F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielFuller_5-1621770346654.png" alt="DanielFuller_5-1621770346654.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;data table, county is the same as LAD16C from the link table, participation is the data i need to calculate the mean for&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielFuller_6-1621770386149.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/13968iA127821FFF412FFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielFuller_6-1621770386149.png" alt="DanielFuller_6-1621770386149.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;merged table that i'm trying to run tools on&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any pointers for tools or scripts?&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 11:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-arcpy-tools-to-extract-means-from-one-table/m-p/1060775#M61209</guid>
      <dc:creator>DanielFuller</dc:creator>
      <dc:date>2021-05-23T11:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using arcpy tools to extract means from one table and join them to another</title>
      <link>https://community.esri.com/t5/python-questions/using-arcpy-tools-to-extract-means-from-one-table/m-p/1060784#M61211</link>
      <description>&lt;P&gt;I'd recommend looking into the issue with the Summary Statistics tool, it is by far the easiest solution.&amp;nbsp; Maybe post that issue.&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 13:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-arcpy-tools-to-extract-means-from-one-table/m-p/1060784#M61211</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-05-23T13:21:59Z</dc:date>
    </item>
  </channel>
</rss>

