@Test
public void testGetDouble() throws IOException {

  ColumnType[] types = {
    STRING, STRING, INTEGER, INTEGER, INTEGER,
    INTEGER, DOUBLE, DOUBLE, DOUBLE, INTEGER,
    INTEGER, INTEGER, INTEGER, DOUBLE, DOUBLE
  };
  Table table =
      Table.read()
          .csv(CsvReadOptions.builder(new File("../data/baseball.csv")).columnTypes(types));
  Row row = new Row(table);
  while (row.hasNext()) {
    row.next();
    assertEquals(table.doubleColumn(6).getDouble(row.getRowNumber()), row.getDouble(6), 0.01);
    assertEquals(
        table.doubleColumn("OBP").getDouble(row.getRowNumber()), row.getDouble("OBP"), 0.01);
  }
}