<?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: Stack columns into a multiple new columns, based on the name/properties/data type of original column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Stack-columns-into-a-multiple-new-columns-based-on-the-name/m-p/266922#M51997</link>
    <description>The Tables==&amp;gt;Stack platform does allow for Muiti stack processing, that would work if your var, newvar and different columns were of the same number.  But short of that, what you are doing is probably the best way to handle it.  However, the data table you end up with does not provide you with any between column comparisons, such as correlation/regression analyses.</description>
    <pubDate>Fri, 15 May 2020 14:29:29 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-05-15T14:29:29Z</dc:date>
    <item>
      <title>Stack columns into a multiple new columns, based on the name/properties/data type of original column</title>
      <link>https://community.jmp.com/t5/Discussions/Stack-columns-into-a-multiple-new-columns-based-on-the-name/m-p/266904#M51992</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help in stacking script. I have a table which has 80 columns and morethan 100k rows. I want to make a new table, which should have 6 columns in a pair like "data" and "label" in stack table. My stacked column is based on the colum name, so say in 80 columns, 30 has one type of information, 15 has another type of information and rest 35 have 3rd type of information. I want to stack the columns based on their data type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see the attached files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can do that by making 3 different tables and then update the tables and make them one. But I was wondering if there is any smarter way to do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Requirement.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/24007i28A6B93288C29B25/image-size/large?v=v2&amp;amp;px=999" role="button" title="Requirement.jpg" alt="Requirement.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 12:59:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Stack-columns-into-a-multiple-new-columns-based-on-the-name/m-p/266904#M51992</guid>
      <dc:creator>HSS</dc:creator>
      <dc:date>2020-05-15T12:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Stack columns into a multiple new columns, based on the name/properties/data type of original column</title>
      <link>https://community.jmp.com/t5/Discussions/Stack-columns-into-a-multiple-new-columns-based-on-the-name/m-p/266922#M51997</link>
      <description>The Tables==&amp;gt;Stack platform does allow for Muiti stack processing, that would work if your var, newvar and different columns were of the same number.  But short of that, what you are doing is probably the best way to handle it.  However, the data table you end up with does not provide you with any between column comparisons, such as correlation/regression analyses.</description>
      <pubDate>Fri, 15 May 2020 14:29:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Stack-columns-into-a-multiple-new-columns-based-on-the-name/m-p/266922#M51997</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-05-15T14:29:29Z</dc:date>
    </item>
  </channel>
</rss>

