<?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: API Python view attribute table of a webmap layer in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/api-python-view-attribute-table-of-a-webmap-layer/m-p/1295850#M8754</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/639487"&gt;@RoslynPeters&lt;/a&gt;&amp;nbsp;- thanks for the question.&amp;nbsp; You can read in the feature layers as Spatially enabled dataframes (SeDF) and work with them as you would a traditional &lt;A href="https://pandas.pydata.org/" target="_self"&gt;Pandas&lt;/A&gt; dataframe.&amp;nbsp; You can use the code snippet to retrieve the feature layer and convert to SeDF from this &lt;A href="https://developers.arcgis.com/python/guide/part2-data-io-reading-data/" target="_self"&gt;link&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicholasGiner1_0-1685980615299.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72339i60261473F025EA57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicholasGiner1_0-1685980615299.png" alt="NicholasGiner1_0-1685980615299.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then use the &lt;A href="https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.sum.html" target="_self"&gt;.sum() function&lt;/A&gt; to calculate the total from the column you need.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicholasGiner1_1-1685980786373.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72340iA37C4A28A27C5074/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicholasGiner1_1-1685980786373.png" alt="NicholasGiner1_1-1685980786373.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 16:00:05 GMT</pubDate>
    <dc:creator>NicholasGiner1</dc:creator>
    <dc:date>2023-06-05T16:00:05Z</dc:date>
    <item>
      <title>API Python view attribute table of a webmap layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/api-python-view-attribute-table-of-a-webmap-layer/m-p/1235177#M8058</link>
      <description>&lt;P&gt;Hello, I have been struggling to open the attribute tables for these data layers. I want to be able to view the TOTACRES field, and use that to view the sum of that field. What would an example look like to view attributes?&lt;/P&gt;&lt;P&gt;These are the layers I brought in already&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RoslynPeters_0-1669506075175.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/56884i15BDA97C4DA3E898/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RoslynPeters_0-1669506075175.png" alt="RoslynPeters_0-1669506075175.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Nov 2022 23:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/api-python-view-attribute-table-of-a-webmap-layer/m-p/1235177#M8058</guid>
      <dc:creator>RoslynPeters</dc:creator>
      <dc:date>2022-11-26T23:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: API Python view attribute table of a webmap layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/api-python-view-attribute-table-of-a-webmap-layer/m-p/1295850#M8754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/639487"&gt;@RoslynPeters&lt;/a&gt;&amp;nbsp;- thanks for the question.&amp;nbsp; You can read in the feature layers as Spatially enabled dataframes (SeDF) and work with them as you would a traditional &lt;A href="https://pandas.pydata.org/" target="_self"&gt;Pandas&lt;/A&gt; dataframe.&amp;nbsp; You can use the code snippet to retrieve the feature layer and convert to SeDF from this &lt;A href="https://developers.arcgis.com/python/guide/part2-data-io-reading-data/" target="_self"&gt;link&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicholasGiner1_0-1685980615299.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72339i60261473F025EA57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicholasGiner1_0-1685980615299.png" alt="NicholasGiner1_0-1685980615299.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then use the &lt;A href="https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.sum.html" target="_self"&gt;.sum() function&lt;/A&gt; to calculate the total from the column you need.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicholasGiner1_1-1685980786373.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72340iA37C4A28A27C5074/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicholasGiner1_1-1685980786373.png" alt="NicholasGiner1_1-1685980786373.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 16:00:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/api-python-view-attribute-table-of-a-webmap-layer/m-p/1295850#M8754</guid>
      <dc:creator>NicholasGiner1</dc:creator>
      <dc:date>2023-06-05T16:00:05Z</dc:date>
    </item>
  </channel>
</rss>

