<?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: .from_layer Converting feature service table to pandas dataframe. in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/from-layer-converting-feature-service-table-to/m-p/875118#M4869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;stopped working for us&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It helps to elaborate.&amp;nbsp; Are you getting an error or unexpected results?&amp;nbsp; If you are getting an error, what is the error?&amp;nbsp; If unexpected results, what are those?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2020 19:02:44 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2020-05-12T19:02:44Z</dc:date>
    <item>
      <title>.from_layer Converting feature service table to pandas dataframe.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/from-layer-converting-feature-service-table-to/m-p/875117#M4868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The conversion of a table to a pandas spatial data-frame recently stopped working for us. Was there a change to the API recently? Is there a limit on the number of records this function can process? Other datasets of ours are working fine with the same code. Here is what we are trying:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;feature_layers = gis.content.get('xxxxxxxxxxxxxxxxxxxxxxxxxxxxx')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono, monospace;"&gt;data = pd.DataFrame.spatial.from_layer(feature_layers.tables[0])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 17:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/from-layer-converting-feature-service-table-to/m-p/875117#M4868</guid>
      <dc:creator>AnooshehTarassoly</dc:creator>
      <dc:date>2020-05-12T17:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: .from_layer Converting feature service table to pandas dataframe.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/from-layer-converting-feature-service-table-to/m-p/875118#M4869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;stopped working for us&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It helps to elaborate.&amp;nbsp; Are you getting an error or unexpected results?&amp;nbsp; If you are getting an error, what is the error?&amp;nbsp; If unexpected results, what are those?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 19:02:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/from-layer-converting-feature-service-table-to/m-p/875118#M4869</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-05-12T19:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: .from_layer Converting feature service table to pandas dataframe.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/from-layer-converting-feature-service-table-to/m-p/875119#M4870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's the same for me. The mistake I get is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Could not load the dataset: 'PropertyMap' instance has no attribute 'drawingInfo' "&lt;/P&gt;&lt;P&gt;I'm trying to pass a table instead of a layer, with layers it works but&amp;nbsp;I need to read a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;item &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;get&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"xxxxxxxxxxx"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
foto &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;tables&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
field_service_dataframe &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pd&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DataFrame&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatial&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;from_layer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;foto&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:58:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/from-layer-converting-feature-service-table-to/m-p/875119#M4870</guid>
      <dc:creator>AlbertoCañivano</dc:creator>
      <dc:date>2021-12-12T10:58:32Z</dc:date>
    </item>
  </channel>
</rss>

