<?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>idea Option to allow null values when using to_featureclass() method on SeDFs in ArcGIS API for Python Ideas</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/option-to-allow-null-values-when-using-to/idi-p/1374169</link>
    <description>&lt;P&gt;The title says is all. I'd appreciate being able to maintain null values when converting a SeDF to a featureclass in a gdb. I've used pandas.fillna() with fillers like a space before, but sometimes a null value is there for a reason, and I'd prefer to leave it null.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2024 22:01:47 GMT</pubDate>
    <dc:creator>KellyTaylor</dc:creator>
    <dc:date>2024-01-24T22:01:47Z</dc:date>
    <item>
      <title>Option to allow null values when using to_featureclass() method on SeDFs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/option-to-allow-null-values-when-using-to/idi-p/1374169</link>
      <description>&lt;P&gt;The title says is all. I'd appreciate being able to maintain null values when converting a SeDF to a featureclass in a gdb. I've used pandas.fillna() with fillers like a space before, but sometimes a null value is there for a reason, and I'd prefer to leave it null.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 22:01:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/option-to-allow-null-values-when-using-to/idi-p/1374169</guid>
      <dc:creator>KellyTaylor</dc:creator>
      <dc:date>2024-01-24T22:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Option to allow null values when using to_featureclass() method on SeDFs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/option-to-allow-null-values-when-using-to/idc-p/1385411#M90</link>
      <description>&lt;P&gt;Yes please. It currently exports as empty strings (for text fields). Here is a link to the issue and current feedback: &lt;A href="https://github.com/Esri/arcgis-python-api/issues/1415" target="_blank" rel="noopener"&gt;github&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clubdebambos_0-1708611540566.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95488i9CDD49E980EC8DB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Clubdebambos_0-1708611540566.png" alt="Clubdebambos_0-1708611540566.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/option-to-allow-null-values-when-using-to/idc-p/1385411#M90</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2024-02-22T14:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Option to allow null values when using to_featureclass() method on SeDFs</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/option-to-allow-null-values-when-using-to/idc-p/1652886#M166</link>
      <description>&lt;P&gt;I agree that this needs to be changed.&amp;nbsp; Its another instance of the tool changing values when not explicitly defined (sanitize_columns was another instance of this).&amp;nbsp; arcpy ExportFeatures/Table honors null values but its hit and miss with executing successfully.&lt;/P&gt;&lt;P&gt;Another workaround our team has utilized is to calculate values with the Calculate Field tool after using to_featureclass.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;string_fields = [f.name for f in arcpy.ListFields(&amp;lt;fc&amp;gt;) if f.type == 'String']

for i in string_fields:
    arcpy.management.CalculateField(
    in_table=&amp;lt;fc&amp;gt;,
    field=i,
    expression=f"None if !{i}! == '' else !{i}!",
    expression_type="PYTHON3",
    code_block="",
    field_type="TEXT",
    enforce_domains="NO_ENFORCE_DOMAINS"
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 17:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/option-to-allow-null-values-when-using-to/idc-p/1652886#M166</guid>
      <dc:creator>EricErtl</dc:creator>
      <dc:date>2025-09-24T17:25:10Z</dc:date>
    </item>
  </channel>
</rss>

