<?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: Import multible CSV files in a folder and stack them in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897724#M105778</link>
    <description>&lt;P&gt;Ah, right,&amp;nbsp;&lt;FONT face="courier new,courier"&gt;words()&lt;/FONT&gt;uses the same trick as &lt;FONT face="courier new,courier"&gt;Text to Columns()&lt;/FONT&gt;&amp;nbsp;.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Aug 2025 09:44:44 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2025-08-29T09:44:44Z</dc:date>
    <item>
      <title>Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897704#M105774</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have&amp;nbsp;&lt;SPAN&gt;an issue with my CSV files, which have a weird separator (&lt;STRONG&gt;","&lt;/STRONG&gt;) that I can't figure out how to get JMP to import&amp;nbsp;&lt;/SPAN&gt;automatically.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I aim to be able to pick a folder containing multiple CSV files, with the same structure and column names, import all data, and stack them.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached a CSV file that looks like my file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you can help me :)&lt;/img&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers, Christian&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 09:00:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897704#M105774</guid>
      <dc:creator>Stats_Like_Jazz</dc:creator>
      <dc:date>2025-08-29T09:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897719#M105775</link>
      <description>&lt;P&gt;even more than that, the quotation marks come as 1, 2 and 3:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1756459630389.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81518i174972CAA6428A23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1756459630389.png" alt="hogi_0-1756459630389.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Maybe the best solution is to fix the file export : )&lt;BR /&gt;&lt;BR /&gt;Another solution: use "Notepad ++" / Replace in Files:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1756459693179.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81520i1A6A3D8E0573C910/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1756459693179.png" alt="hogi_1-1756459693179.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;to get rid of the quotation marks.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 09:28:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897719#M105775</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-08-29T09:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897720#M105776</link>
      <description>&lt;P&gt;In JMP,&amp;nbsp;&lt;BR /&gt;&lt;STRONG&gt;Text to Columns&lt;/STRONG&gt; is THE tool to handle such bunches of separators:&lt;BR /&gt;it doesn't care if it's &lt;FONT face="courier new,courier"&gt;"&lt;/FONT&gt;&amp;nbsp; &amp;nbsp;or&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT face="courier new,courier"&gt;"",""&lt;/FONT&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;or&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT face="courier new,courier"&gt;"""&lt;BR /&gt;&lt;/FONT&gt;it treats multiple separators as a single one (!)&lt;BR /&gt;This can be very harmful:&amp;nbsp;&lt;LI-MESSAGE title="Text To Columns: handle missing data correctly" uid="582008" url="https://community.jmp.com/t5/JMP-Wish-List/Text-To-Columns-handle-missing-data-correctly/m-p/582008#U582008" 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;BR /&gt;... but often it's exactly what we need, like here .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So,&lt;/P&gt;
&lt;P&gt;a) load the files via MFI with the option &lt;FONT face="courier new,courier"&gt;"Row per Line"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;b) and use &lt;STRONG&gt;Text to Columns&lt;/STRONG&gt; with Delimiters = ,"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1756460490035.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81522iAFA7E22393D4FB4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1756460490035.png" alt="hogi_0-1756460490035.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;PRE&gt;&lt;CODE class=" language-jsl"&gt;dts = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder( "C:\Users\xyz\Downloads\csv\" ),
	&amp;lt;&amp;lt;Set Import Mode( "Row Per Line" ),
	&amp;lt;&amp;lt;Set Stack Mode( "Table Per File" )
) &amp;lt;&amp;lt; Import Data;

mydt = New Table();

For Each( {dt}, dts,
	dt &amp;lt;&amp;lt; Text to Columns( columns( :Text ), Delimiters( "\!"", "," ) );
	dt &amp;lt;&amp;lt; Delete Columns( :Text );

// get the heading, make numeric columns numeric
	dt &amp;lt;&amp;lt; Move up;
);

mydt &amp;lt;&amp;lt; concatenate( dts, append to first table );

For Each( dt, dts, Close( dt, noSave ) );&lt;/CODE&gt;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 20:29:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897720#M105776</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-08-29T20:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897722#M105777</link>
      <description>&lt;P&gt;You also seem to have "" at the end each row and first column doesn't have the "," format but rather ,".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1756459680122.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81519i6DDF7945B722F391/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1756459680122.png" alt="jthi_0-1756459680122.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I'm not sure if this will work for all of your files but I would handle them as text, cleanup them into "proper" csv and then open that from memory into JMP table&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

filedir = "$DOWNLOADS\New folder (2)\";


csvfiles = {};

For Each({filename}, Files In Directory(filedir),
	If(Ends With(filename, ".csv"),
		Insert Into(csvfiles, filedir || filename);
	);
);

dt_res = Empty();

For Each({csvfile}, csvfiles,
	txt = Load Text File(csvfile);
	lines = Words(txt, "\!N");
	lines_fixed = Transform Each({line}, lines,
		items = Concat items(Words(line, "\!","), ",");
	);
	csv_txt = Concat Items(lines_fixed, "\!N");
	
	dt = Open(Char to Blob(csv_txt), "text", Invisible);
	dt &amp;lt;&amp;lt; Set Name(Word(-1, csvfile, "\/"));
	If(Is Empty(dt_res),
		dt_res = dt;
	,
		dt_res &amp;lt;&amp;lt; Concatenate(
			dt,
			"Append to first table";
		);
		Close(dt, no save);
	);
);

dt_res &amp;lt;&amp;lt; Bring Window To Front;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Aug 2025 09:32:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897722#M105777</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-29T09:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897724#M105778</link>
      <description>&lt;P&gt;Ah, right,&amp;nbsp;&lt;FONT face="courier new,courier"&gt;words()&lt;/FONT&gt;uses the same trick as &lt;FONT face="courier new,courier"&gt;Text to Columns()&lt;/FONT&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 09:44:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897724#M105778</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-08-29T09:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897767#M105783</link>
      <description>&lt;P&gt;Digging deeper:&lt;/P&gt;
&lt;P&gt;the main issue is the&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1756463412669.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81528i87E93543FF6F7742/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1756463412669.png" alt="hogi_0-1756463412669.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;in the MFI settings.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;JMP&lt;STRIKE&gt; is happy about the first and the last quotation mark -&lt;/STRIKE&gt; and reads the whole line of text as one column ( keeping every second quotation mark ?!?):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_5-1756464161779.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81534iDD9FA6FC597C6E91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_5-1756464161779.png" alt="hogi_5-1756464161779.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;edit: first and last quotation mark? non, it's more complicated - see below!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;As a quick solution, one can change the CSV Quote setting to another character:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1756463554633.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81529i9753AEB3183FC7F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1756463554633.png" alt="hogi_1-1756463554633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;lt;&amp;lt;Set CSV Quote( "#" ),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and use the quotation mark itself as a separator:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1756463581618.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81530i4BF1266286F27E58/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1756463581618.png" alt="hogi_2-1756463581618.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This allows JMP to read the files - but:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_3-1756463633644.png" style="width: 773px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81531iE7879526B8F81200/image-dimensions/773x87?v=v2" width="773" height="87" role="button" title="hogi_3-1756463633644.png" alt="hogi_3-1756463633644.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;different to &lt;FONT face="courier new,courier"&gt;Words()&lt;/FONT&gt;&amp;nbsp;and &lt;FONT face="courier new,courier"&gt;Text To Columns()&lt;/FONT&gt;, &lt;FONT face="courier new,courier"&gt;MFI&lt;/FONT&gt; treats every (single) separator as a separator&lt;BR /&gt;with the idea: missing data = missing data, no skipped column!&lt;/P&gt;
&lt;P&gt;Thanks MFI, for most of the files, this makes sense : - )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not here - so, after the import, the user has to delete the empty columns.&lt;BR /&gt;&lt;BR /&gt;Please note: Importing the file with an empty CSV quote setting, doesn't work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_4-1756463762291.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81533iF2FFDC8A29503E1D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_4-1756463762291.png" alt="hogi_4-1756463762291.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;lt;&amp;lt;Set CSV Quote( "" ),&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;JMP will automatically use a quotation mark as CSV Quote and load the whole file as a single column.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 20:30:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897767#M105783</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-08-29T20:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897911#M105789</link>
      <description>&lt;P&gt;&amp;nbsp;for more fun with MFI and CSV quotes&lt;/P&gt;
&lt;P&gt;use the attached file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;input:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;JMP:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_4-1756492371814.png" style="width: 363px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81590i96967BE75C6B0940/image-dimensions/363x313?v=v2" width="363" height="313" role="button" title="hogi_4-1756492371814.png" alt="hogi_4-1756492371814.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_5-1756492401851.png" style="width: 190px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81591iE72A3C2AF7971E52/image-dimensions/190x273?v=v2" width="190" height="273" role="button" title="hogi_5-1756492401851.png" alt="hogi_5-1756492401851.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once a hypothesis&amp;nbsp;has been set up that fits rows 1–N, it is easy to find a black swan for row N+1 ...&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 20:26:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897911#M105789</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-08-29T20:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897947#M105791</link>
      <description>&lt;P&gt;0. if there are characters in fron of the quotation mark, its no CSV quote.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;if the first character of the cell is quotation mark, it's a CSV quote -&amp;gt; scan to find the closing quotation mark&lt;/LI&gt;
&lt;LI&gt;if on your way there are two adjacent quotation marks, treat them as a single quotation mark&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_7-1756496643230.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81601i2E8F37EC21C9A1F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_7-1756496643230.png" alt="hogi_7-1756496643230.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;if on your way you find a comma, it's a comma&lt;/LI&gt;
&lt;LI&gt;if on your way you find a newline, it's a newline (!!)&lt;BR /&gt;actually, the content of the cell is:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_8-1756544659126.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81675i2EEDE4B00DE66DE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_8-1756544659126.png" alt="hogi_8-1756544659126.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;any other interesting characters?&amp;nbsp; ...&lt;/LI&gt;
&lt;LI&gt;if you find a closing quotation mark, the quote is complete&lt;/LI&gt;
&lt;LI&gt;search for a delimiter or a line break. &lt;BR /&gt;any character you find: just add it to the quote.&lt;/LI&gt;
&lt;LI&gt;here: a single quotation mark is a singe quotation mark&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 quotation marks are 2 quotation marks (compare #2)&lt;/LI&gt;
&lt;LI&gt;if you find a delimiter or line break, this is the end of the cell (compare #4)&lt;/LI&gt;
&lt;LI&gt;With a space&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;in front of the quote, the quote is no CSV quote.&lt;BR /&gt;(subset of&amp;nbsp; #0)&lt;BR /&gt;It took me a while to understand&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_14-1756498993516.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81610i38DC3B4E0D77AC9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_14-1756498993516.png" alt="hogi_14-1756498993516.png" /&gt;&lt;/span&gt;&amp;nbsp; &lt;BR /&gt;from the previous post, this is why I added it as a separate case.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;csv file:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; JMP:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_11-1756545143906.png" style="width: 151px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81678i1627AED689BDCF27/image-dimensions/151x328?v=v2" width="151" height="328" role="button" title="hogi_11-1756545143906.png" alt="hogi_11-1756545143906.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_12-1756545174912.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81679iF11C2B7BFC2CBF4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_12-1756545174912.png" alt="hogi_12-1756545174912.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Aug 2025 09:20:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897947#M105791</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-08-30T09:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897959#M105792</link>
      <description>&lt;P&gt;In light of the new findings, the data table in the original post now looks more familiar:&lt;BR /&gt;&lt;BR /&gt;It resembles a data table that, in the first step ('V1'), was exported with quotation marks added to the numeric and character columns (just the first column didn't get the additional quotation marks:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1756501078389.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81614iDAE967FA4902815C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1756501078389.png" alt="hogi_0-1756501078389.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Surprisingly:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;V1 can be opened in JMP and Excel via drag and drop. Both programs automatically 'unpack' the CSV quotes and load the table in the correct format. So, how do you get from V1 to&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A id="link_0" class="lia-link-navigation attachment-link" style="font-family: inherit; background-color: #ffffff;" href="https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897704/thread-id/105774?attachment-id=25055" target="_blank" rel="noopener"&gt;CSV with wierd sep.csv&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What works:&lt;BR /&gt;step2: open V1 as &lt;STRONG&gt;tab&lt;/STRONG&gt;-separated table (instead of a CSV file with CSV quotes)&lt;/P&gt;
&lt;P&gt;step3: save the table as csv (in this step [in JMP and Excel], the additional quotation marks at the start and end of each row are added automatically and single quotation marks are replaced by 2x quotation marks)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reverse process should be straightforward:&lt;BR /&gt;- Just open&amp;nbsp;&lt;A id="link_0" class="lia-link-navigation attachment-link" style="font-family: inherit; background-color: #ffffff;" href="https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897704/thread-id/105774?attachment-id=25055" target="_blank" rel="noopener"&gt;CSV with wierd sep.csv&lt;/A&gt;&amp;nbsp;in JMP or Excel. Both programs remove the enclosing quotation marks automatically, and double quotation marks are converted back to single ones: This is how it looks in Excel:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1756502783635.png" style="width: 840px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81617i6C75F389DBFF4CC6/image-dimensions/840x84?v=v2" width="840" height="84" role="button" title="hogi_2-1756502783635.png" alt="hogi_2-1756502783635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;exactly like what we want:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_4-1756502953543.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81619i5826E5D56995A699/image-size/large?v=v2&amp;amp;px=999" role="button" title="hogi_4-1756502953543.png" alt="hogi_4-1756502953543.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;So, let's save the data table as a csv - and load it again : )&lt;BR /&gt;in JMP, we can disable the options:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_3-1756502818871.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/81618i0FE741DBCE772889/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_3-1756502818871.png" alt="hogi_3-1756502818871.png" /&gt;&lt;/span&gt;]&lt;/P&gt;
&lt;P&gt;Unfortunately, the CSV encoding is enabled by default. On the one hand, it's reasonable — saving the file without CSV quotes would change the data structure significantly!&lt;/P&gt;
&lt;P&gt;But actually, that's what we wanted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, the only way (?) is to copy the entries from JMP or Excel to a text editor and save v1.txt from there.&lt;BR /&gt;The text editor doesn't know about csv quotes and saves the text as it is.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 21:38:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/897959#M105792</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-08-29T21:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Import multible CSV files in a folder and stack them</title>
      <link>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/898226#M105811</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp; Thank you so much for your answers and effort here! It proved even worse than I imagined!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will have to spend some time digging through your answers, but I wanted to thank you right away :)&lt;/img&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers, Christian&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 18:57:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Import-multible-CSV-files-in-a-folder-and-stack-them/m-p/898226#M105811</guid>
      <dc:creator>Stats_Like_Jazz</dc:creator>
      <dc:date>2025-09-01T18:57:47Z</dc:date>
    </item>
  </channel>
</rss>

