<?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: Transpose column to rows and add Single quotation mark for each row in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Transpose-column-to-rows-and-add-Single-quotation-mark-for-each/m-p/762823#M94288</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/57778"&gt;@ReliabilityWolf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you can try this JSL script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//To add prefix single quotation mark
Names Default to Here( 1 );
dt = current data table();
dt:Number &amp;lt;&amp;lt; Data Type( Character);
for each row(
	dt:Number = "'" || dt:Number
);

//To transpose Number column to row
// Transpose data table
// → Data Table( "Transpose of dt" )
Data Table( "dt" ) &amp;lt;&amp;lt; Transpose(
	columns( :Number ),
	Output Table( "Transpose of dt" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 07 Jun 2024 03:42:10 GMT</pubDate>
    <dc:creator>WebDesignesCrow</dc:creator>
    <dc:date>2024-06-07T03:42:10Z</dc:date>
    <item>
      <title>Transpose column to rows and add Single quotation mark for each row</title>
      <link>https://community.jmp.com/t5/Discussions/Transpose-column-to-rows-and-add-Single-quotation-mark-for-each/m-p/762817#M94285</link>
      <description>&lt;P&gt;How can I use JSL to&amp;nbsp;Transpose one column (:Number) to rows and add single quotation mark for each row?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ReliabilityWolf_0-1717724919749.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/64973i80DADB5FE8F412F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ReliabilityWolf_0-1717724919749.png" alt="ReliabilityWolf_0-1717724919749.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;or add&amp;nbsp;add single quotation mark for each row of "Number" column, then&amp;nbsp;Transpose to row?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 01:52:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transpose-column-to-rows-and-add-Single-quotation-mark-for-each/m-p/762817#M94285</guid>
      <dc:creator>ReliabilityWolf</dc:creator>
      <dc:date>2024-06-07T01:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose column to rows and add Single quotation mark for each row</title>
      <link>https://community.jmp.com/t5/Discussions/Transpose-column-to-rows-and-add-Single-quotation-mark-for-each/m-p/762823#M94288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/57778"&gt;@ReliabilityWolf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you can try this JSL script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//To add prefix single quotation mark
Names Default to Here( 1 );
dt = current data table();
dt:Number &amp;lt;&amp;lt; Data Type( Character);
for each row(
	dt:Number = "'" || dt:Number
);

//To transpose Number column to row
// Transpose data table
// → Data Table( "Transpose of dt" )
Data Table( "dt" ) &amp;lt;&amp;lt; Transpose(
	columns( :Number ),
	Output Table( "Transpose of dt" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jun 2024 03:42:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transpose-column-to-rows-and-add-Single-quotation-mark-for-each/m-p/762823#M94288</guid>
      <dc:creator>WebDesignesCrow</dc:creator>
      <dc:date>2024-06-07T03:42:10Z</dc:date>
    </item>
  </channel>
</rss>

