Name | Table |
---|---|
Examples |
def setup(): table = Table() table.addColumn("id") table.addColumn("species") table.addColumn("name") newRow = table.addRow() newRow.setInt("id", table.lastRowIndex()) newRow.setString("species", "Panthera leo") newRow.setString("name", "Lion") saveTable(table, "data/new.csv") # Sketch saves the following to a file called "new.csv": # id,species,name # 0,Panthera leo,Lion |
Description | |
Related |
loadTable() saveTable() TableRow |
Cover
Reference
Tutorials
Examples
Bugs