@Test
public void testSetFloat() throws IOException {

  ColumnType[] types = {
    STRING, STRING, INTEGER, INTEGER, INTEGER,
    INTEGER, FLOAT, FLOAT, FLOAT, INTEGER,
    INTEGER, INTEGER, INTEGER, FLOAT, FLOAT
  };
  Table table =
      Table.read()
          .csv(CsvReadOptions.builder(new File("../data/baseball.csv")).columnTypes(types));
  Row row = new Row(table);
  while (row.hasNext()) {
    row.next();
    float rowVal = table.floatColumn("OBP").getFloat(row.getRowNumber());
    // setFloat(columnIndex, value)
    row.setFloat(6, rowVal + (float) Math.PI);
    assertEquals(rowVal + (float) Math.PI, row.getFloat(6), 0.001);
    // setFloat(columnName, value)
    row.setFloat("OBP", rowVal + 2 * (float) Math.PI);
    assertEquals(rowVal + 2 * (float) Math.PI, row.getFloat("OBP"), 0.001);
  }
}