<?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: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0) in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084373#M6418</link>
    <description>&lt;P&gt;I'm on chrome. No code formatting option&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jul 2021 12:05:48 GMT</pubDate>
    <dc:creator>JohnHuillery1</dc:creator>
    <dc:date>2021-07-30T12:05:48Z</dc:date>
    <item>
      <title>Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1083910#M6407</link>
      <description>&lt;P&gt;After upgrading to&amp;nbsp;ArcGIS API for Python 1.9.0 I can no longer use a Result object&amp;nbsp;to create Spatial Dataframe.&lt;/P&gt;&lt;P&gt;*Apologies for not formatting the code as code.&amp;nbsp; I'm not sure where that option went&lt;/P&gt;&lt;P&gt;Example code:&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;import pandas as pd&lt;BR /&gt;from arcgis.features import Feature&lt;/P&gt;&lt;P&gt;result_object = arcpy.Intersect_analysis([valid_input1, valid_input2], r'in_memory\output')&lt;/P&gt;&lt;P&gt;df = pd.DataFrame.spatial.from_featureclass(result_object)&lt;/P&gt;&lt;P&gt;Error message:&lt;/P&gt;&lt;P&gt;ValueError: filename must be a `str`, `Path`, or `PurePath`, not &amp;lt;class 'arcpy.arcobjects.arcobjects.Result'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workaround is to use:&lt;/P&gt;&lt;P&gt;df = pd.DataFrame.spatial.from_featureclass(r'in_memory\output')&lt;/P&gt;&lt;P&gt;instead of the Result object variable, but now I have to change my code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 19:26:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1083910#M6407</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2021-07-29T19:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084152#M6411</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-blog/code-formatting-the-community-version/ba-p/1007633" target="_blank"&gt;Code formatting ... the Community Version - Esri Community&lt;/A&gt;&amp;nbsp;for future reference&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 19:12:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084152#M6411</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-29T19:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084164#M6412</link>
      <description>&lt;P&gt;It looks like the elipsis is gone now&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 751px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19711i86AE3289129BB684/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 19:28:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084164#M6412</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2021-07-29T19:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084262#M6416</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="format_code_access.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/19729i4779CCB487246CA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="format_code_access.png" alt="format_code_access.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Works for me.&amp;nbsp; Edge browser on a laptop.&lt;/P&gt;&lt;P&gt;They still haven't got around to putting the code formatting symbol on the main line yet.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 22:29:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084262#M6416</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-29T22:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084373#M6418</link>
      <description>&lt;P&gt;I'm on chrome. No code formatting option&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 12:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1084373#M6418</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2021-07-30T12:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1122370#M6872</link>
      <description>&lt;P&gt;I'd love to know the rationale behind this change, this seems like a step backward?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 22:40:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1122370#M6872</guid>
      <dc:creator>feralcatcolonist_old</dc:creator>
      <dc:date>2021-12-02T22:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1122581#M6873</link>
      <description>&lt;P&gt;Why is this flagged as the solution?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 17:36:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1122581#M6873</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2021-12-03T17:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1122585#M6874</link>
      <description>&lt;P&gt;I have no idea, I thought you were being cheeky. As the OP you should have control to set what is the accepted solution.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 17:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1122585#M6874</guid>
      <dc:creator>feralcatcolonist_old</dc:creator>
      <dc:date>2021-12-03T17:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can no longer use a Result object to create Spatial Dataframe (ArcGIS API for Python 1.9.0)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1122587#M6875</link>
      <description>&lt;P&gt;Fixed&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 17:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-no-longer-use-a-result-object-to-create/m-p/1122587#M6875</guid>
      <dc:creator>JohnHuillery1</dc:creator>
      <dc:date>2021-12-03T17:47:13Z</dc:date>
    </item>
  </channel>
</rss>

