<?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 to force a new best guess a column (modeling type and data type) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/397924#M64864</link>
    <description>&lt;P&gt;JMP is somehow slow writing CSVs, and until JMP 16 also reading them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was expecting access to the method used in JMP when loading new files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt:column &amp;lt;&amp;lt; Type(Best Guess)&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 13:59:07 GMT</pubDate>
    <dc:creator>FN</dc:creator>
    <dc:date>2021-07-02T13:59:07Z</dc:date>
    <item>
      <title>How to force a new best guess a column (modeling type and data type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/375219#M62500</link>
      <description>&lt;P&gt;I am initiating a column as character containing empty values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Later on, this column will be populated with data from a data base that can be any type. By having characters no transformation is done by JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I force a new best guess via JSL?&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>Fri, 09 Jun 2023 22:10:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/375219#M62500</guid>
      <dc:creator>FN</dc:creator>
      <dc:date>2023-06-09T22:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to force a new best guess a column (modeling type and data type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/375242#M62504</link>
      <description>&lt;P&gt;Here is how I would approach the issue.&amp;nbsp; The simple description is to subset out the column in question, save it as a .csv file and then have JMP read in the column using the Best Guess capability and then moving the column back into the original data table.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
// Createa sample data table
dt=New Table( "Example",
	Add Rows( 2 ),
	New Script(
		"Source",
		Data Table( "Untitled 7" ) &amp;lt;&amp;lt; Subset( All rows, columns( :test ) )
	),
	New Column( "test",
		Character,
		"Nominal",
		Set Values( {"01/28/2020", "09/14/2021"} )
	)
);

// Separate out the column in question
dttest=dt&amp;lt;&amp;lt;subset(selected rows(0), columns(test));

// Save the column to a .csv format and close the table
dttest &amp;lt;&amp;lt; save("$TEMP\test.csv");
close(dttest, nosave);

// Open the saved table allowing JMP to use the Best Guess on the column
dtnew = open("$TEMP\test.csv");

// Delete the original column from the original data table
dt &amp;lt;&amp;lt; delete column(test);

// Merge the new verstion of the column back into the original data table
dt &amp;lt;&amp;lt; Update( With( dtNew ) );

// Close the single column transfer data table
close(dtnew, nosave );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Apr 2021 18:20:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/375242#M62504</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-08T18:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to force a new best guess a column (modeling type and data type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/397924#M64864</link>
      <description>&lt;P&gt;JMP is somehow slow writing CSVs, and until JMP 16 also reading them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was expecting access to the method used in JMP when loading new files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt:column &amp;lt;&amp;lt; Type(Best Guess)&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 13:59:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/397924#M64864</guid>
      <dc:creator>FN</dc:creator>
      <dc:date>2021-07-02T13:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to force a new best guess a column (modeling type and data type)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/397945#M64866</link>
      <description>I am not aware of any such option</description>
      <pubDate>Fri, 02 Jul 2021 14:24:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-force-a-new-best-guess-a-column-modeling-type-and-data/m-p/397945#M64866</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-07-02T14:24:24Z</dc:date>
    </item>
  </channel>
</rss>

