<?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: Calculate Field with Python 3 / &amp;lt;Null&amp;gt; values in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752804#M32891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/7582" target="_blank"&gt;Justin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use something like the following as a def in a code block:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;flds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;!AddrPrimaryHighNo!&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; !StreetPreDrctnAbbrev!&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; !StreetName!&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; !StreetSuffixAbbrev!&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; !StreetPostDrctnAbbrev!&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;" "&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; flds &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;is&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;not&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE&gt;&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 07:57:21 GMT</pubDate>
    <dc:creator>LanceCole</dc:creator>
    <dc:date>2021-12-12T07:57:21Z</dc:date>
    <item>
      <title>Calculate Field with Python 3 / &lt;Null&gt; values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752803#M32890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to concatenate several fields, where one of the source fields is a double, the rest are string, and all of them have some &amp;lt;Null&amp;gt; values.&amp;nbsp; If I use the following syntax in Calculate Field in Pro 24.1/Python 3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;str(!AddrPrimaryHighNo!) + " " + str(!StreetPreDrctnAbbrev!) + " " + str(!StreetName!) + " " + str(!StreetSuffixAbbrev!) + " " + str(!StreetPostDrctnAbbrev!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get values like:&lt;/P&gt;&lt;P&gt;1498.0 None AVENUE K NONE NONE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where I would expect:&lt;/P&gt;&lt;P&gt;1498&amp;nbsp; AVENUE K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AddrPrimaryHighNo is Double&lt;/P&gt;&lt;P&gt;StreetPreDrctnAbbrev is Text&lt;/P&gt;&lt;P&gt;StreetName is Text&lt;/P&gt;&lt;P&gt;StreetSuffixAbbrev is Text&lt;/P&gt;&lt;P&gt;StreetostDrctnAbbrev is Text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I perform the field calculation below in ArcMap 10.5.1/VB Script, it works out just fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;[AddrPrimaryHighNo]&amp;amp;" "&amp;amp; [StreetPreDrctnAbbrev]&amp;amp;" "&amp;amp; [StreetName]&amp;amp;" "&amp;amp; [StreetSuffixAbbrev]&amp;amp;" "&amp;amp; [StreetPostDrctnAbbrev]&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Meanwhile I'm just going to go back to ArcMap.&amp;nbsp; Thanks&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;-Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 20:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752803#M32890</guid>
      <dc:creator>JustinWolff</dc:creator>
      <dc:date>2019-09-04T20:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field with Python 3 / &lt;Null&gt; values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752804#M32891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/7582" target="_blank"&gt;Justin&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use something like the following as a def in a code block:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;flds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;!AddrPrimaryHighNo!&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; !StreetPreDrctnAbbrev!&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; !StreetName!&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; !StreetSuffixAbbrev!&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; !StreetPostDrctnAbbrev!&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;" "&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; flds &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;is&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;not&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE&gt;&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752804#M32891</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2021-12-12T07:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field with Python 3 / &lt;Null&gt; values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752805#M32892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although I agree with this approach, it won't work within the Field Calculator unless the user creates a code block.&amp;nbsp; Creating a function in a code block and passing the fields to it isn't difficult, I am just not sure whether that is more than the OP wants to deal with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 22:37:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752805#M32892</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-09-04T22:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field with Python 3 / &lt;Null&gt; values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752806#M32893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you really getting values like:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;1498.0 None AVENUE K NONE NONE&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;or is it&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;1498.0 None AVENUE K None None&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2019 22:40:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752806#M32893</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-09-04T22:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field with Python 3 / &lt;Null&gt; values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752807#M32894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3420" target="_blank"&gt;https://community.esri.com/migrated-users/3420&lt;/A&gt;
,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, I should not assume&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/7582" target="_blank"&gt;Justin&lt;/A&gt; would understand how to place a def in a code block.&amp;nbsp; I was also using my phone to reply while traveling.&amp;nbsp; Below&amp;nbsp;are the call, def and&amp;nbsp;a Calculate Field screen shot to use a function called "joinAddress"&amp;nbsp;with the needed address fields&amp;nbsp;which returns the assembled address string less any None values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You call the function using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;STRONG&gt;joinAddress(!AddrPrimaryHighNo!, !StreetPreDrctnAbbrev!, !StreetName!, !StreetSuffixAbbrev!, !StreetPostDrctnAbbrev!)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;Code Block:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;joinAddress&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;a&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;b&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;c&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;d&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;e&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    flds &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;a&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;b&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;c&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;d&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;e&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" "&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; flds &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; i &lt;SPAN class="keyword token"&gt;is&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;not&lt;/SPAN&gt; None&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Side note: If all your fields were string you could also use &lt;STRONG&gt;" ".join(filter(None, flds))&lt;/STRONG&gt;.&amp;nbsp; You can still use this by changing the following; &lt;STRONG&gt;flds = [str(a),b,c,d,e]&lt;/STRONG&gt;.&amp;nbsp; I prefer the method above as&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;you can also change the &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px;"&gt;&lt;STRONG&gt;str(i)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt; to &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px;"&gt;&lt;STRONG&gt;str(i).strip()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt; to remove any leading or training spaces that may be in your fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculate Field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="458661" alt="Calculate Field" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/458661_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not want to use the code block with a call, you can use the following as a calculate statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e42e30;"&gt;" "&lt;/SPAN&gt;.join([str(i) &lt;SPAN style="color: #6c71c4;"&gt;for&lt;/SPAN&gt; i &lt;SPAN style="color: #6c71c4;"&gt;in&lt;/SPAN&gt; [!AddrPrimaryHighNo!, !StreetPreDrctnAbbrev!, !StreetName!, !StreetSuffixAbbrev!, !streetPostDrctnAbbrev!] &lt;SPAN style="color: #6c71c4;"&gt;if&lt;/SPAN&gt; i &lt;SPAN style="color: #6c71c4;"&gt;is&lt;/SPAN&gt; &lt;SPAN style="color: #6c71c4;"&gt;not&lt;/SPAN&gt; None])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:57:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752807#M32894</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2021-12-12T07:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Field with Python 3 / &lt;Null&gt; values</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752808#M32895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Josh,&lt;/P&gt;&lt;P&gt;I've since modified my data so the AddrPrimaryHighNo field is now a string, but for the following (when AddrPrimaryHighNo was a double):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="width: 19%;"&gt;AddrPrimaryHighNo&lt;/TH&gt;&lt;TH style="width: 23%;"&gt;StreetPreDrctnAbbrev&lt;/TH&gt;&lt;TH style="width: 10%;"&gt;StreetName&lt;/TH&gt;&lt;TH style="width: 20.8595%;"&gt;StreetSuffixAbbrev&lt;/TH&gt;&lt;TH style="width: 16.1405%;"&gt;StreetPostDrctnAbbrev&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 19%;"&gt;1699&lt;/TD&gt;&lt;TD style="width: 23%;"&gt;&amp;lt;Null&amp;gt;&lt;/TD&gt;&lt;TD style="width: 10%;"&gt;220TH&lt;/TD&gt;&lt;TD style="width: 20.8595%;"&gt;ST&lt;/TD&gt;&lt;TD style="width: 16.1405%;"&gt;&amp;lt;Null&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19%;"&gt;&lt;/TD&gt;&lt;TD style="width: 23%;"&gt;&lt;/TD&gt;&lt;TD style="width: 10%;"&gt;&lt;/TD&gt;&lt;TD style="width: 20.8595%;"&gt;&lt;/TD&gt;&lt;TD style="width: 16.1405%;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;str(!AddrPrimaryHighNo!) + " " + str(!StreetPreDrctnAbbrev!) + " " + str(!StreetName!) + " " + str(!StreetSuffixAbbrev!) + " " + str(!StreetPostDrctnAbbrev!)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I receive:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;1699.0 None 220TH ST None&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;So I may have not typed out the correct outcome in my original message, sorry about that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thank you all for your quick replies and helpful information.&amp;nbsp;&amp;nbsp;A coworker also pointed out there is a Concatenate Fields under Helpers in the Calculate Field geoprocessing window, which sets up a code block with a def, etc.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;-Justin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2019 13:49:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/calculate-field-with-python-3-lt-null-gt-values/m-p/752808#M32895</guid>
      <dc:creator>JustinWolff</dc:creator>
      <dc:date>2019-09-05T13:49:36Z</dc:date>
    </item>
  </channel>
</rss>

