Skip to content

Commit e229e61

Browse files
committed
started fixing up data tutorial not finished
1 parent ad121f0 commit e229e61

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

content/static/tutorials/data/index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,13 @@ <h3>Tabular Data</h3>
192192
Table table = loadTable("data.csv");
193193
</pre>
194194

195-
<p>Once the table is loaded, you can access the elements by their column and row number. Let's look at how excel interprets the CSV file.</p>
195+
<p>Now we've missed on important detail. Take a look at the data.csv text file above. Notice how the first line of text is not the data itself, but rather a "header row." This row includes labels that describe the data included in each subsequent row. The good news is that Processing can automatically interpret and store the headers for you, if you pass in the option "header" when loading the table. (In addition to "header" there are other options you can specify. For example if your file is called data.txt but is comma separated data you can pass in the option "csv". If it also has a header row, then you can specifiy both options like so: "header,csv"). A full list of options can be found on the loadTable() documentation page [LINKS TO THIS!].</p>
196+
197+
<pre>
198+
Table table = loadTable("data.csv","header");
199+
</pre>
200+
201+
<p>Now that the table is loaded, we can start to . Let's look at how excel interprets the CSV file.</p>
196202

197203
<img src="imgs/data_04_excel.jpg" border=1>
198204

0 commit comments

Comments
 (0)