<?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 Getting Abstract Method Error using Spatially Enabled Dataframes in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/getting-abstract-method-error-using-spatially/m-p/1221709#M7893</link>
    <description>&lt;P&gt;I've been seeing some inconsistencies using the SEDF with some of the more basic pandas functions where I get the following error:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Exception has occurred: AbstractMethodError
This method must be defined in the concrete class GeoArray&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example with the latest conda environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;arcgis 2.0.1&lt;/LI&gt;&lt;LI&gt;pandas 1.3.5&lt;/LI&gt;&lt;LI&gt;arcpy 3.0&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;SDF = FeatureSet.from_geojson(Data).sdf
# The following line throws the error
SDF.replace({True: 1, False: 0}, inplace=True)
# AbstractMethod Error...
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Interesting enough when I did a merge with a standard dataframe it works...&lt;/P&gt;&lt;LI-CODE lang="python"&gt;SDF = FeatureSet.from_geojson(Data).sdf
# Merge with some Tabular Data
SDF = pd.merge(SDF, TableDataframe, how="left", on=["id"])
SDF.replace({True: 1, False: 0}, inplace=True)
# All Good!&lt;/LI-CODE&gt;&lt;P&gt;I've seen this error a few times with some of the more "generic" pandas functions but I am just wondering if anyone has any insights or suggestions when you are using the GeoAccessor class to run some analysis?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 18:40:54 GMT</pubDate>
    <dc:creator>ClangDevGuy</dc:creator>
    <dc:date>2022-10-13T18:40:54Z</dc:date>
    <item>
      <title>Getting Abstract Method Error using Spatially Enabled Dataframes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/getting-abstract-method-error-using-spatially/m-p/1221709#M7893</link>
      <description>&lt;P&gt;I've been seeing some inconsistencies using the SEDF with some of the more basic pandas functions where I get the following error:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Exception has occurred: AbstractMethodError
This method must be defined in the concrete class GeoArray&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example with the latest conda environment:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;arcgis 2.0.1&lt;/LI&gt;&lt;LI&gt;pandas 1.3.5&lt;/LI&gt;&lt;LI&gt;arcpy 3.0&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;SDF = FeatureSet.from_geojson(Data).sdf
# The following line throws the error
SDF.replace({True: 1, False: 0}, inplace=True)
# AbstractMethod Error...
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Interesting enough when I did a merge with a standard dataframe it works...&lt;/P&gt;&lt;LI-CODE lang="python"&gt;SDF = FeatureSet.from_geojson(Data).sdf
# Merge with some Tabular Data
SDF = pd.merge(SDF, TableDataframe, how="left", on=["id"])
SDF.replace({True: 1, False: 0}, inplace=True)
# All Good!&lt;/LI-CODE&gt;&lt;P&gt;I've seen this error a few times with some of the more "generic" pandas functions but I am just wondering if anyone has any insights or suggestions when you are using the GeoAccessor class to run some analysis?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 18:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/getting-abstract-method-error-using-spatially/m-p/1221709#M7893</guid>
      <dc:creator>ClangDevGuy</dc:creator>
      <dc:date>2022-10-13T18:40:54Z</dc:date>
    </item>
  </channel>
</rss>

