<?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: Thousands Separator for Label Expression using Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392528#M31047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Monty Python, in search of the holy code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"But you're VB!&amp;nbsp; What are you doing in the Python Parser?"&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2016 14:48:01 GMT</pubDate>
    <dc:creator>ChrisDonohue__GISP</dc:creator>
    <dc:date>2016-10-21T14:48:01Z</dc:date>
    <item>
      <title>Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392515#M31034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does one use &lt;EM&gt;Python &lt;/EM&gt;to format a number label so it shows the thousands separator?&amp;nbsp; For example, I have a value of 12345 that I want to display (from the Shape.Area field of a File Geodatabase feature class) on the map as a label as 12,345.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at these discussions, but can't seem to get it to work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/117693"&gt;What is label expression for formatting a number to have thousands separator and decimals?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://stackoverflow.com/questions/5513615/add-decimal-mark-thousands-separators-to-a-number" title="http://stackoverflow.com/questions/5513615/add-decimal-mark-thousands-separators-to-a-number"&gt;python - Add 'decimal-mark' thousands separators to a number - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/248671_format_number_python.jpg" style="width: 620px; height: 407px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I could &lt;EM&gt;slice&lt;/EM&gt; the value and insert commas, but I was hoping to use something easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.2.1 (so Python 2.7.5).&amp;nbsp; I'm a beginner in Python, so there is a good chance I am just missing something basic in trying to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 18:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392515#M31034</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2016-10-20T18:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392516#M31035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; "{:,}".format(1000000)&lt;BR /&gt;'1,000,000'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 18:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392516#M31035</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-20T18:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392517#M31036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/map/working-with-text/about-building-label-expressions.htm"&gt;Building label expressions&lt;/A&gt;: "&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;Field values are automatically cast to text strings.&amp;nbsp;Therefore, if you wish to use a numeric value in an arithmetic operation, or when making a comparison, you will need to cast it back to a numeric data type."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;This could look something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fefefe;"&gt;"{:,}".format(float([Field_Name]) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 19:18:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392517#M31036</guid>
      <dc:creator>BrittneyWhite1</dc:creator>
      <dc:date>2016-10-20T19:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392518#M31037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I purely use a number in the format, it works correctly.&amp;nbsp; But now the catch, how do I substitute in &lt;EM&gt;SHAPE_Area&lt;/EM&gt; so it labels based on that field that with comma separators instead of a hard-coded number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="248757" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/248757_format_shapearea.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="248758" alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/248758_format_shapearea_error.jpg" style="width: 620px; height: 326px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 20:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392518#M31037</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2016-10-20T20:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392519#M31038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;python parser.... then why are the fieldnames enclosed in square brackets instead of ! ! &amp;nbsp;?? Is this unique to labelling? Chris, I don't do much labelling, but did you pick the parser before building the expression or after? &amp;nbsp;and what's up with the one space indentation? does Arc* put that indentation in or is that you? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 22:14:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392519#M31038</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-20T22:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392520#M31039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was noticing that too.&amp;nbsp; It doesn't matter if the Parser in the Label Expression is changed to Python first or not, the field names come across with brackets when one double-clicks on the field you want to select it.&amp;nbsp; On top of that, if one changes the field name to be surrounded by exclamation marks instead of brackets(with Python still selected as the Parser) it errors out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="248840" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/248840_shape_area_exclamation_marks.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the one-space indentation, it is actually two spaces and that seems to be what ArcGIS defaults to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 22:48:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392520#M31039</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2016-10-20T22:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392521#M31040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so even str(!SHAPE_area!) errors out? &amp;nbsp;I am just wondering if the output is supposed to be string.&lt;/P&gt;&lt;P&gt;In any event, I don't do labelling, but I would be a tad peeved if Verify says nothing about what was wrong and more importantly, if the python parser is defective. &amp;nbsp;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 22:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392521#M31040</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-20T22:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392522#M31041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm... this works for me (field type is Long):&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; FindLabel &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;CLIENTNUM&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp; &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;format&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;CLIENTNUM&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392522#M31041</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T17:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392523#M31042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;was that with the python parser and selecting the fields from the list? or by keying everything in? &amp;nbsp;That is one of the things Chris needs to figure out ... is it the process that is causing the error or the parser?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 23:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392523#M31042</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-20T23:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392524#M31043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python parser, and I don't recall if I selected from the list or not, but it's correct. The label expression box doesn't use the normal !Field! notation, just to keep you on your toes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 23:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392524#M31043</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-10-20T23:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392525#M31044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;good catch if it works from the list selection...&lt;/P&gt;&lt;P&gt;I would deem this an appropriate use of 'pythonesque', perhaps VBthon? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 23:24:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392525#M31044</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-20T23:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392526#M31045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked!&amp;nbsp; Thanks Darren.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 14:37:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392526#M31045</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2016-10-21T14:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392527#M31046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;"The label expression box doesn't use the normal !Field! notation, just to keep you on your toes."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good catch.&amp;nbsp; The whole lack of !Field! notation despite being in the Python mode was making me wonder if my software was corrupted.&amp;nbsp; Maybe we could submit this to ArcGIS Ideas to standardize this so folks won't be confused?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 14:39:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392527#M31046</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2016-10-21T14:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392528#M31047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Monty Python, in search of the holy code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;"But you're VB!&amp;nbsp; What are you doing in the Python Parser?"&amp;nbsp; &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 14:48:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392528#M31047</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2016-10-21T14:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392529#M31048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is a bug... if it advertised as python, it should behave lie python, there should be non 'esque' in parsers there is enough of that in the various database forms&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 17:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392529#M31048</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-21T17:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392530#M31049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cast is necessary because the field's value is returned as an object (that is, the Python base class), since arbitrary data types are supported by the expression dialog. String.format() does not work with uncast objects&amp;nbsp;because an object.__repr__ method returns a 'method-wrapper' class and not a datatype that string.format knows how to work with. Once you've cast the object, in this case invoking its __float__ method, it returns its value as a float data type which plays nice with string formatting.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 22:09:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392530#M31049</guid>
      <dc:creator>ClintonDow1</dc:creator>
      <dc:date>2016-10-21T22:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392531#M31050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clinton, this would be a nice inclusion in the help topics. &amp;nbsp;It may not matter for most, but if casting is needed because a python object is used, then this means something to some of us. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is going to be an issue when people start migrating to Pro and start using Pandas which makes judicious use of python's object... most people will think&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... if it looks like a number, it should act like a number...&lt;/P&gt;&lt;P&gt;Indicating in the help that casting to float or string (I wont get into python 2 vs 3 'strings') should be used explicitly would at least warn people. &amp;nbsp;A few simple examples would also help. &amp;nbsp;I know that you aren't the person to implement this in the help, but I have a strong suspicion that the doc's people aren't big on object casting and representation.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 22:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392531#M31050</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-10-21T22:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands Separator for Label Expression using Python</title>
      <link>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392532#M31051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan, I agree. I had to do a bit of digging to figure that out so I don't think its common knowledge but I'll definitely recommend that we mention it in the docs.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 22:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/thousands-separator-for-label-expression-using/m-p/392532#M31051</guid>
      <dc:creator>ClintonDow1</dc:creator>
      <dc:date>2016-10-21T22:29:21Z</dc:date>
    </item>
  </channel>
</rss>

