<?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: Pivot Table creates blanks instead of NULLs in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260403#M20036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan -&amp;nbsp;&lt;/P&gt;&lt;P&gt;these are indeed integers stored as text. Thanks for reading the documentation for me &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2019 19:12:44 GMT</pubDate>
    <dc:creator>deleted-user-qpvAI3Fo0MKR</dc:creator>
    <dc:date>2019-01-15T19:12:44Z</dc:date>
    <item>
      <title>Pivot Table creates blanks instead of NULLs</title>
      <link>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260401#M20034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When running the &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/pivot-table.htm"&gt;Pivot Table tool&lt;/A&gt;, I end up with blanks (" ") instead of NULLs.&lt;/P&gt;&lt;P&gt;I'm curious if this is the expected behavior of the tool, or if I'm missing some setting somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/433225_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a problem because the next step in this workflow is to calculate Summary Statistics (Count) of values in each of these fields, and Count treats blanks as valid values.&lt;/P&gt;&lt;P&gt;I realize I can loop through all the fields and change the blanks to NULLs and will do this as a last resort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:46:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260401#M20034</guid>
      <dc:creator>deleted-user-qpvAI3Fo0MKR</dc:creator>
      <dc:date>2019-01-15T15:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table creates blanks instead of NULLs</title>
      <link>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260402#M20035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting according to&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/pivot-table.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/pivot-table.htm"&gt;Pivot Table—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You might be running to the text beginning with&amp;nbsp; a number issue or some variant&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4c4c4c; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next','Avenir','Helvetica Neue',sans-serif; font-size: 15.8px; 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;"&gt;If the &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4c4c4c; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,&amp;amp;quot;avenir&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,sans-serif; font-size: 15.8px; 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;"&gt;Pivot Field&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4c4c4c; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next','Avenir','Helvetica Neue',sans-serif; font-size: 15.8px; 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;"&gt; is a text field, its values must begin with a character (for example, &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4c4c4c; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 15.8px; 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;"&gt;a2&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4c4c4c; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next','Avenir','Helvetica Neue',sans-serif; font-size: 15.8px; 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;"&gt;) and not a number (for example, &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4c4c4c; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 15.8px; 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;"&gt;2a&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4c4c4c; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next','Avenir','Helvetica Neue',sans-serif; font-size: 15.8px; 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;"&gt;). If the value of the first record begins with a number, all the output values will be 0.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but at least you don't have nulls in the source since the tool would fail&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4c4c4c; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next','Avenir','Helvetica Neue',sans-serif; font-size: 15.8px; 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;"&gt;The tool fails if the selected &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #4c4c4c; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,&amp;amp;quot;avenir&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,sans-serif; font-size: 15.8px; 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;"&gt;Pivot Field&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4c4c4c; font-family: 'Avenir Next W01','Avenir Next W00','Avenir Next','Avenir','Helvetica Neue',sans-serif; font-size: 15.8px; 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;"&gt; contains Null values.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 18:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260402#M20035</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-15T18:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table creates blanks instead of NULLs</title>
      <link>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260403#M20036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan -&amp;nbsp;&lt;/P&gt;&lt;P&gt;these are indeed integers stored as text. Thanks for reading the documentation for me &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 19:12:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260403#M20036</guid>
      <dc:creator>deleted-user-qpvAI3Fo0MKR</dc:creator>
      <dc:date>2019-01-15T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Table creates blanks instead of NULLs</title>
      <link>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260404#M20037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem Josh... someone has to &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 23:34:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pivot-table-creates-blanks-instead-of-nulls/m-p/260404#M20037</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-15T23:34:56Z</dc:date>
    </item>
  </channel>
</rss>

