<?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: Does having &amp;quot;Null&amp;quot; spelled out serve a function? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205109#M44169</link>
    <description>&lt;P&gt;Thanks, Dan!&lt;/P&gt;&lt;P&gt;It sounds like I should replace blank cells with &amp;lt;Null&amp;gt;. I noticed when I typed in &amp;lt;Null&amp;gt; in the title of this post, it would not show up until I changed the text to "Null". If I use the code below, will I run into problems because of the &amp;lt;&amp;gt; symbols?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;'&amp;lt;Null&amp;gt;' if !field! is None else !field!‍‍&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 19:05:45 GMT</pubDate>
    <dc:creator>MattCotterill</dc:creator>
    <dc:date>2022-08-22T19:05:45Z</dc:date>
    <item>
      <title>Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205066#M44167</link>
      <description>&lt;P&gt;I'm comparing two versions of a feature class one of which has &amp;lt;Null&amp;gt; spelled out in blank fields and the other just has blanks. Because of this difference, when I run the Detect Feature Changes tool, every feature shows up as having (at minimum) an attribute change. I want to want to run some python code to change either all &amp;lt;Null&amp;gt; to (blank) or vice versa so I can tell which features have been significantly changed. Is there an advantage to one or the other?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 17:01:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205066#M44167</guid>
      <dc:creator>MattCotterill</dc:creator>
      <dc:date>2022-08-22T17:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205104#M44168</link>
      <description>&lt;P&gt;A "blank" cell could be truly an empty string, or it could contain one space or more than one space or any of the non-printable utf characters.&amp;nbsp; looking at the field wouldn't reveal what is what.&lt;/P&gt;&lt;P&gt;Also, numeric can't be represented by any nodata value, except for floats/decimal where there is NaN (not a number, but sadly, there isn't one for integers.&lt;/P&gt;&lt;P&gt;Spreadsheets have brought this empty cell evil to the world of GIS &amp;lt;NULL&amp;gt; is a good clue that the cell is not occupied.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 18:50:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205104#M44168</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-08-22T18:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205109#M44169</link>
      <description>&lt;P&gt;Thanks, Dan!&lt;/P&gt;&lt;P&gt;It sounds like I should replace blank cells with &amp;lt;Null&amp;gt;. I noticed when I typed in &amp;lt;Null&amp;gt; in the title of this post, it would not show up until I changed the text to "Null". If I use the code below, will I run into problems because of the &amp;lt;&amp;gt; symbols?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;'&amp;lt;Null&amp;gt;' if !field! is None else !field!‍‍&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 19:05:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205109#M44169</guid>
      <dc:creator>MattCotterill</dc:creator>
      <dc:date>2022-08-22T19:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205117#M44170</link>
      <description>&lt;P&gt;No, that wouldn't be wise, and it might not work -- What if the string field has a width of 5 or less?&lt;/P&gt;&lt;P&gt;You'd be better off reviewing the non-NULL empty fields for why they have corrupt values, rather than corrupting the valid NULLs.&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 19:39:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205117#M44170</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2022-08-22T19:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205118#M44171</link>
      <description>&lt;P&gt;Don't do what you are planning on doing!&lt;/P&gt;&lt;P&gt;If you want the field to be NULL for records, then use Python None which is the Python mapping to SQL NULL.&amp;nbsp; Writing out a text field with the same character representation that ArcGIS shows for SQL NULL will create massive confusion.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 19:25:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205118#M44171</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2022-08-22T19:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205128#M44172</link>
      <description>&lt;P&gt;Should I instead clear the &amp;lt;Null&amp;gt; values in the other feature class using your code?:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;'' if !field! is None else !field!‍‍&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 19:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205128#M44172</guid>
      <dc:creator>MattCotterill</dc:creator>
      <dc:date>2022-08-22T19:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205164#M44173</link>
      <description>&lt;P&gt;Why do you want to store empty strings instead of NULL?&amp;nbsp; If there is no data present for a given field and row, NULL is the common marker.&amp;nbsp; I say marker instead of value because NULL indicates a value is unknown and is not a value in and of itself (this is also why checks for NULL use IS instead of equals).&lt;/P&gt;&lt;P&gt;I think the better approach would be converting fields with either an empty string or only whitespace characters to NULL:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;None if !field!.strip() == '' else !field!&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 22 Aug 2022 21:02:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205164#M44173</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2022-08-22T21:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205174#M44174</link>
      <description>&lt;P&gt;I have an original dataset and a copy of the same. In the copy, all the &amp;lt;Null&amp;gt; values became blank, Maybe when it was copied? People have been making edits to both the copy and to the original and I'm trying to reconcile the two. When I run the Detect Feature Changes tool, every feature shows as having an attribute changed and I think that's because of the missing &amp;lt;Null&amp;gt;s. I want all the &amp;lt;Null&amp;gt;s/blanks to look the same so that when I run the tool, only the changes people actually made are detected&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 21:49:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205174#M44174</guid>
      <dc:creator>MattCotterill</dc:creator>
      <dc:date>2022-08-22T21:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Does having "Null" spelled out serve a function?</title>
      <link>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205175#M44175</link>
      <description>&lt;P&gt;And in my previous incarnation... there is this missive&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-blog/the-solution-to-lt-null-gt-in-tables/ba-p/902845" target="_blank"&gt;The solution to &amp;lt;null&amp;gt; in tables - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 21:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/does-having-quot-null-quot-spelled-out-serve-a/m-p/1205175#M44175</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-08-22T21:50:29Z</dc:date>
    </item>
  </channel>
</rss>

