add the next data row into an example table

User: "l__chine"
New Altair Community Member
Updated by Jocelyn
Hello,
how can I insert the next data row into an existing example table?

MemoryExampleTable table = new MemoryExampleTable(myAttributes);
DoubleArrayDataRow dataRow = new DoubleArrayDataRow(data);

table.addDataRow(dataRow);
  
ExampleSet examSet = table.createExampleSet();
this write one row of the values of the attributes into my example table. When I run this the second time, this data row is overwritten by a current data row. How can I add the second data row into an existing example table?

Thank for your answer

Find more posts tagged with