code: public static Double[] getColumnDoubleValues(CSTable t, String columnName) {
          int col = columnIndex(t, columnName);
          if (col == -1) {
              throw new IllegalArgumentException("No such column: " + columnName);
          }
          List<Double> l = new ArrayList<Double>();
          for (String[] s : t.rows()) {
              l.add(new Double(s[col]));
          }
          return l.toArray(new Double[0]);
      }
docs: Get a column as an int array.
  
  @param t
  @param columnName
  @return the column data as doubles.