<?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: Issues with Update() on floating-point EFT values in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915696#M107611</link>
    <description>&lt;P&gt;I used Join to demonstrate as using Update with the provided data doesn't do anything, but&amp;nbsp;join does offer merge same name columns (and update main table with data from second table).&lt;/P&gt;
&lt;P&gt;I think rounding might be one option. Or could you use pandas to build the final table as you are already using it earlier? Also, as a heads-up you might not want to use &amp;lt;&amp;lt; Set Each Value in that way, as I'm not sure if JMP has yet changed it to be the intended behaviour.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Nov 2025 05:13:33 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-11-28T05:13:33Z</dc:date>
    <item>
      <title>Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915576#M107588</link>
      <description>&lt;P&gt;I am merging sample-level metadata with time-series raw measurements using Python’s &lt;CODE data-start="388" data-end="400"&gt;merge_asof&lt;/CODE&gt; and then updating the time-series table in JMP using &lt;CODE data-start="454" data-end="464"&gt;Update()&lt;/CODE&gt;. Both tables contain columns for time (EFT) and batch ID.&lt;/P&gt;
&lt;P data-start="702" data-end="720"&gt;The problem:&lt;/P&gt;
&lt;UL data-start="721" data-end="896"&gt;
&lt;LI data-start="721" data-end="865"&gt;
&lt;P data-start="723" data-end="865"&gt;After the Python merge, the resulting table (&lt;CODE data-start="768" data-end="784"&gt;merged_samples&lt;/CODE&gt;) contains exact matches for some time points and “nearest” matches for others.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3 data-start="1103" data-end="1152"&gt;Python merge handles “nearest” correctly:&lt;/H3&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-python"&gt;&lt;CODE class="whitespace-pre! language-python"&gt;&lt;/CODE&gt;&lt;/CODE&gt;
&lt;PRE&gt;merged_batch = pd.merge_asof(
    metadata_batch.sort_values('EFT_val'),
    timeseries_batch.sort_values('EFT_val'),
    left_on='EFT_val',
    right_on='EFT_val',
    direction='nearest'
)&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE class="overflow-visible!" data-start="1154" data-end="1358"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;UL data-start="1360" data-end="1521"&gt;
&lt;LI data-start="1360" data-end="1425"&gt;
&lt;P data-start="1362" data-end="1425"&gt;Python correctly pairs 208.0955556 (raw) with 209 (metadata).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="1426" data-end="1521"&gt;
&lt;P data-start="1428" data-end="1521"&gt;The resulting &lt;CODE data-start="1442" data-end="1456"&gt;merged_batch&lt;/CODE&gt; has all sample rows matched to nearest time-series points.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 data-start="1528" data-end="1572"&gt;JMP Update() fails for close values :&lt;/H3&gt;
&lt;DIV class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"&gt;
&lt;DIV class="overflow-y-auto p-4" dir="ltr"&gt;&lt;CODE class="whitespace-pre! language-jsl"&gt;&lt;CODE class="whitespace-pre! language-jsl"&gt;&lt;/CODE&gt;&lt;/CODE&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;

timeSeriesTable &amp;lt;&amp;lt; Update(
    With( merged_batch ),
    Match Columns(
        :EFT_val = :EFT_val,
        :Batch_ID = :Batch_ID
    )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P data-start="1726" data-end="1740"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL data-start="1742" data-end="2237"&gt;
&lt;LI data-start="1853" data-end="2127"&gt;
&lt;P data-start="1856" data-end="1913"&gt;Metadata has fewer rows than the time-series table.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="2129" data-end="2237"&gt;
&lt;P data-start="2132" data-end="2237"&gt;Even values that look identical in the UI fail&amp;nbsp; fail due to floating-point precision differences.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I plot the graph in 'merged_batch'&amp;nbsp; individual table it works fine but after the update&amp;nbsp; in `timeSeriesTable `, the graph doesn't plot all the data point and some rows are missed too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0 - present&lt;BR /&gt;87.9669444444445 - present&lt;BR /&gt;111.966666666667 - missing&lt;BR /&gt;135.966111111111 - missing&lt;BR /&gt;183.965555555556 - present&lt;BR /&gt;205.965277777778 - present&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 09:28:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915576#M107588</guid>
      <dc:creator>zetaVagabond1</dc:creator>
      <dc:date>2025-11-27T09:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915586#M107589</link>
      <description>&lt;P&gt;Can you provide example tables? Are you trying to join&amp;nbsp;&lt;SPAN&gt;208.0955556 with&amp;nbsp;209&amp;nbsp;in JMP? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;JMP doesn't have join nearest natively (you can script it and there are scripts in community / were add-ins for it). There is also at least one wish list item requesting it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 09:34:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915586#M107589</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-27T09:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915588#M107590</link>
      <description>&lt;P&gt;Yes, since JMP doesn't have that capability I used python which works and integrated very well with the code. And I am attaching the tables for reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and No, I am not&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;trying to join&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;208.0955556 with&amp;nbsp;209.&amp;nbsp; 209 is recorded value and the float&amp;nbsp; is from machine, that's why I am using the mergeasof in python for nearest values.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 10:12:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915588#M107590</guid>
      <dc:creator>zetaVagabond1</dc:creator>
      <dc:date>2025-11-27T10:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915592#M107592</link>
      <description>&lt;P&gt;Is there some issue or this just "heads-up" that JMP doesn't have this capability?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 10:53:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915592#M107592</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-27T10:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915593#M107593</link>
      <description>&lt;P&gt;This -&amp;nbsp;&lt;SPAN&gt;When I plot the graph in 'merged_batch'&amp;nbsp; individual table it works fine but after the update&amp;nbsp; in `timeSeriesTable `, the graph doesn't plot all the data point and some rows are missed too.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 10:56:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915593#M107593</guid>
      <dc:creator>zetaVagabond1</dc:creator>
      <dc:date>2025-11-27T10:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915597#M107594</link>
      <description>&lt;P&gt;"111.966666666667 - missing"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1764241895741.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87820i4EEB966946C10B28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1764241895741.png" alt="jthi_0-1764241895741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do we have all the required tables to create the plot? Should we assume meta-data is same as merged_batch?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1764242127690.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87821iB23DF6E3889B54B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1764242127690.png" alt="jthi_1-1764242127690.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For me, join works but I really wouldn't trust it as performing exact join with floating points might give you results you are not expecting as they tend to not to be exactly precise (&lt;A href="https://0.30000000000000004.com/" target="_blank" rel="noopener"&gt;Floating Point Math&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;You can try giving your numbers more decimals to more accurately see what JMP thinks they are&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1764242404924.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/87822iF16395B7B8357B95/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_2-1764242404924.png" alt="jthi_2-1764242404924.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 11:21:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915597#M107594</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-27T11:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915690#M107610</link>
      <description>&lt;P&gt;Join works for me as well, and though both of these columns have similar timestamps as I'm filtering from raw-data itself but quiet unsire about JMP's Update Behaviour.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason I am not using Join is it will end up creating subsequent column names 'column name ' of 'Table name' 'n' , where 'n' is the subsequent table number from multiple runs and I faced that hurdle and moved to Update Table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So better way it to use a fixed decimal ? 1e-8, 1e-12 ?&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();

col = Column( dt, "EFT" );

// Replace each value with a rounded version (e.g., 8 decimals)
col &amp;lt;&amp;lt; Set Each Value( Round( :EFT, 1e-14 ) );
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 03:55:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915690#M107610</guid>
      <dc:creator>zetaVagabond1</dc:creator>
      <dc:date>2025-11-28T03:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915696#M107611</link>
      <description>&lt;P&gt;I used Join to demonstrate as using Update with the provided data doesn't do anything, but&amp;nbsp;join does offer merge same name columns (and update main table with data from second table).&lt;/P&gt;
&lt;P&gt;I think rounding might be one option. Or could you use pandas to build the final table as you are already using it earlier? Also, as a heads-up you might not want to use &amp;lt;&amp;lt; Set Each Value in that way, as I'm not sure if JMP has yet changed it to be the intended behaviour.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 05:13:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915696#M107611</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-28T05:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915824#M107620</link>
      <description>&lt;P&gt;This feature is pending for a while - please support&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;'s wish and vote:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-MESSAGE title="Add fuzzy join / asof merge / join by columns which do not have exact matches" uid="462354" url="https://community.jmp.com/t5/JMP-Wish-List/Add-fuzzy-join-asof-merge-join-by-columns-which-do-not-have/m-p/462354#U462354" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 12:14:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915824#M107620</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-11-28T12:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with Update() on floating-point EFT values</title>
      <link>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915826#M107621</link>
      <description>&lt;P&gt;AddIn:&amp;nbsp;&lt;LI-MESSAGE title="Join Nearest Rows - Join tables by using continuous columns and nearest values" uid="460321" url="https://community.jmp.com/t5/JMP-Add-Ins/Join-Nearest-Rows-Join-tables-by-using-continuous-columns-and/m-p/460321#U460321" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp; /&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 12:28:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Issues-with-Update-on-floating-point-EFT-values/m-p/915826#M107621</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-11-28T12:28:14Z</dc:date>
    </item>
  </channel>
</rss>

