<?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 python - empty feature table in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/python-empty-feature-table/m-p/505704#M25565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to user the python to read weather data from a map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the map.&lt;/P&gt;&lt;P&gt;Added the IBM weather layer&lt;/P&gt;&lt;P&gt;Had to execute analysis to the layer appear in the content section as feature layer&lt;/P&gt;&lt;P&gt;Edit the feature layer in the main content area. I can see the table data there.&lt;/P&gt;&lt;P&gt;Go to configuration -&amp;gt; authorize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my python code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gis = GIS("https://www.arcgis.com", username="gustavoleig", password="xxxx")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mycontent = gis.content.search('teste_ibm_weather', 'feature layer',)[0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my_table=&amp;nbsp;mycontent.tables[0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print(my_table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my_table is always empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me figure out what's going on? Did I miss something in my process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2020 16:08:18 GMT</pubDate>
    <dc:creator>GustavoLeig</dc:creator>
    <dc:date>2020-03-30T16:08:18Z</dc:date>
    <item>
      <title>python - empty feature table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/python-empty-feature-table/m-p/505704#M25565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm trying to user the python to read weather data from a map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the map.&lt;/P&gt;&lt;P&gt;Added the IBM weather layer&lt;/P&gt;&lt;P&gt;Had to execute analysis to the layer appear in the content section as feature layer&lt;/P&gt;&lt;P&gt;Edit the feature layer in the main content area. I can see the table data there.&lt;/P&gt;&lt;P&gt;Go to configuration -&amp;gt; authorize.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my python code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gis = GIS("https://www.arcgis.com", username="gustavoleig", password="xxxx")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mycontent = gis.content.search('teste_ibm_weather', 'feature layer',)[0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my_table=&amp;nbsp;mycontent.tables[0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;print(my_table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my_table is always empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me figure out what's going on? Did I miss something in my process?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 16:08:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/python-empty-feature-table/m-p/505704#M25565</guid>
      <dc:creator>GustavoLeig</dc:creator>
      <dc:date>2020-03-30T16:08:18Z</dc:date>
    </item>
  </channel>
</rss>

