<?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: How do I create a list of floats in Python? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516939#M40544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This....&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;approxTen&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SARAarea&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;truearea&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;rasterarea
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;isn't a list&lt;/P&gt;&lt;P&gt;This...&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;approxTen &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SARAarea &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; truearea&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;rasterarea&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is a list to which you can append or extend to (notice the [ ] ) and there is a small added floating point check to ensure that you don't perform unwanted integer division. This also assumes that rasterarea is not 0 (otherwise add value checks for that condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:33:41 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2021-12-11T22:33:41Z</dc:date>
    <item>
      <title>How do I create a list of floats in Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516938#M40543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having an issue of creating an array of floats. I have a loop that is scanning the rows of an attribute table and extracting numbers from it. SARAarea, truearea and rasterarea are all extracted from an attribute table and they should be floats. I am trying to use these numbers and do calculations with them and then insert them back into the attribute table. My main issue is adding floats to the list. I keep getting error messages that a float is not iterable or a float is not an attribute to append or extend. What is the best way to do this? I tried to create one loop that would getvalue and insert value into the attribute without using a list.&amp;nbsp;But the searchcursor function only allows me to create two separate loops because there is a seachCursor and a UpdateCursor, it only allows me to do one task at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my attempt at initializing the lists&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;approxTen&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'f'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
approxremaining&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'f'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
lessperc&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'f'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
moreperc&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'f'&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is where I am getting my errors. The code is in a while loop of a searchCursor. "While row:".&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp; approxTen&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SARAarea&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;truearea&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;rasterarea
&amp;nbsp; approxremaining&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;truearea&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;approxTen
&amp;nbsp; 
&amp;nbsp; lessperc&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;approxTen&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;truearea&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100&lt;/SPAN&gt;
&amp;nbsp; moreperc&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;approxremaining&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;truearea&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100&lt;/SPAN&gt;
&amp;nbsp; 
&amp;nbsp; approxTen&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;append&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;approxTen&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp; approxremaining&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;append&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;approxremaining&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp; 
&amp;nbsp; lessperc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;append&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;lessperc&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp; moreperc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;append&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;moreperc&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;Common error I am getting below. Line 50 is line 7 in the code above. I have tried extend and append but neither worked and I haved tried putting float() around the values of approxTen and the rest of them but it did not work.&lt;/P&gt;&lt;P&gt;For example: &amp;nbsp;approxremaining= float(truearea-approxTen)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="376067" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/376067_Errorcapture.PNG" 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;This is how I am inserting it back into the attribute table. Below is a separate loop then above code. I&amp;nbsp;am trying to loop through the list and add it to the attribute table.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;while&lt;/SPAN&gt; row3&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; 
&amp;nbsp; row3&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;approxTen&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;row3&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp; row3&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;approxremaining&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;row3&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp; row3&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;lessperc&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;row3&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp; row3&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;moreperc&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;row3&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&amp;nbsp; cursoru&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;updateRow&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;row3&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;/SPAN&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 22:33:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516938#M40543</guid>
      <dc:creator>AndrewMartin8</dc:creator>
      <dc:date>2021-12-11T22:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a list of floats in Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516939#M40544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This....&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;approxTen&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SARAarea&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;truearea&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;rasterarea
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;isn't a list&lt;/P&gt;&lt;P&gt;This...&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;approxTen &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SARAarea &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; truearea&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;rasterarea&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is a list to which you can append or extend to (notice the [ ] ) and there is a small added floating point check to ensure that you don't perform unwanted integer division. This also assumes that rasterarea is not 0 (otherwise add value checks for that condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516939#M40544</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T22:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a list of floats in Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516940#M40545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The line:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;approxTen&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SARAarea&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;truearea&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt;rasterarea&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;is assigning &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;approxTen&lt;/SPAN&gt; to a &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;float&lt;/SPAN&gt;, or possibly an &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;int&lt;/SPAN&gt; depending on the types of variables in the equation.&amp;nbsp; Since &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;approxTen&lt;/SPAN&gt; is a float, you can't append something to it because floats don't have append or extend methods.&amp;nbsp; Going further back in your code, your code to initialize a list of floats is not doing what you think:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;approxTen&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'f'&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The code as written is creating a list with a single item, the item being a string with a single character, 'f'.&amp;nbsp; You can initialize a float array, but the syntax is different:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; array
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; approxTen &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; array&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;array&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'f'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; approxTen
array&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'f'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;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;/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;Lists are more common in Python than arrays because of their flexibility with data types and syntactic sugar for working with them, like list comprehensions.&amp;nbsp; There is a case to be made for working with arrays but that is usually when performance is a primary concern.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516940#M40545</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-11T22:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a list of floats in Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516941#M40546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I switched it to an array and it works very well. But I am having an issue inputting&amp;nbsp;values on the attribute table. My code is receiving no errors but I believe it is only inputting the values at the end of the array.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/376124_Capturecode.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/376125_Capturetable.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I have it looping 4 times but it is only filling in one row of the table. What is the main issue going on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 18:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516941#M40546</guid>
      <dc:creator>AndrewMartin8</dc:creator>
      <dc:date>2017-10-06T18:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a list of floats in Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516942#M40547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to post more code, not necessarily all, but more of the functional parts.&amp;nbsp; With the snippets you have posted here, it is hard to provide specific suggestions.&amp;nbsp; The structure of your code snippet, i.e., the way you are using a while loop, is not very idiomatic.&amp;nbsp; As best I can tell, even though you may be looping over row3, you are not moving the cursor, so you appear to be continually updating the same row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 21:57:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516942#M40547</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-10-06T21:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a list of floats in Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516943#M40548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You updated one row... examine&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-functions/updatecursor.htm"&gt;&lt;STRONG&gt; updatecursors&lt;/STRONG&gt;&lt;/A&gt; and examine the code snippet in the help files to get the proper syntax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 22:02:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516943#M40548</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-10-06T22:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a list of floats in Python?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516944#M40549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Though, Dan, I would recommend using the newer arcpy.da.UpdateCursor as its performance is 10-100x faster.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/updatecursor-class.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-data-access/updatecursor-class.htm"&gt;UpdateCursor—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2017 06:18:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-create-a-list-of-floats-in-python/m-p/516944#M40549</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-10-08T06:18:14Z</dc:date>
    </item>
  </channel>
</rss>

