<?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: Spatial DataFrame to_featureclass() strips attribute data in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-dataframe-to-featureclass-strips-attribute/m-p/1357279#M9378</link>
    <description>&lt;P&gt;That was it, thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I converted the lists to strings and now it works as expected.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 10:30:28 GMT</pubDate>
    <dc:creator>A_Schwab</dc:creator>
    <dc:date>2023-12-06T10:30:28Z</dc:date>
    <item>
      <title>Spatial DataFrame to_featureclass() strips attribute data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-dataframe-to-featureclass-strips-attribute/m-p/1356921#M9373</link>
      <description>&lt;P&gt;I have a spatially-enabled dataframe with 16 columns:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;sedf.columns
Index(['issuedDate', 'weatherType', 'warningLikelihood', 'warningLevel',
'warningStatus', 'warningHeadline', 'whatToExpect', 'warningId',
'warningVersion', 'warningFurtherDetails', 'modifiedDate',
'validFromDate', 'affectedAreas', 'warningImpact', 'validToDate',
'SHAPE'],
dtype='object')&lt;/LI-CODE&gt;&lt;P&gt;sample:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;&amp;gt;&amp;gt;&amp;gt; sedf.iloc[0]
issuedDate                                            2023-12-05T10:15:10Z
weatherType                                                         [RAIN]
warningLikelihood                                                        1
warningLevel                                                        YELLOW
warningStatus                                                       ISSUED
warningHeadline          Heavy rain is likely to bring some travel disr...
whatToExpect             [There is a small chance that homes and busine...
warningId                             9ac0f4c2-09ab-41ce-ba8a-6e6ea770e6d3
warningVersion                                                         1.0
warningFurtherDetails    Rain is expected to arrive during Wednesday ev...
modifiedDate                                          2023-12-05T10:15:10Z
validFromDate                                         2023-12-07T00:00:00Z
affectedAreas            [{'regionName': 'South West England', 'regionC...
warningImpact                                                            3
validToDate                                           2023-12-07T15:00:00Z
SHAPE                    {'rings': [[(-2.4005, 51.0966), (-2.2687, 50.9...
Name: 0, dtype: object&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;when I run sedf.to_featureclass("path/to/gdb/featureclass"), the resulting featureclass only has 4 of these columnd: SHAPE, modifiedDate, validFromDate, validToDate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exporting the same data from geopandas to geojson or GPKG works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using sanitize_columns=False on the SEDF but it makes no difference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what might be causing the loss of this attribute data and how I can keep it when saving to featureclass/GDB?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 16:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-dataframe-to-featureclass-strips-attribute/m-p/1356921#M9373</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2023-12-05T16:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial DataFrame to_featureclass() strips attribute data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-dataframe-to-featureclass-strips-attribute/m-p/1357048#M9374</link>
      <description>&lt;P&gt;In the past, I remember to_featureclass failing if you had any Python lists in your dataframe. I'm not sure if this is a problem in your case (only noting it because I see lists in the screen).&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 18:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-dataframe-to-featureclass-strips-attribute/m-p/1357048#M9374</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2023-12-05T18:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial DataFrame to_featureclass() strips attribute data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-dataframe-to-featureclass-strips-attribute/m-p/1357279#M9378</link>
      <description>&lt;P&gt;That was it, thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I converted the lists to strings and now it works as expected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 10:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/spatial-dataframe-to-featureclass-strips-attribute/m-p/1357279#M9378</guid>
      <dc:creator>A_Schwab</dc:creator>
      <dc:date>2023-12-06T10:30:28Z</dc:date>
    </item>
  </channel>
</rss>

