code: public DoubleColumn map(ToDoubleFunction<Double> fun) {
          DoubleColumn result = DoubleColumn.create(name());
          for (double t : this) {
              try {
                  result.append(fun.applyAsDouble(t));
              } catch (Exception e) {
                  result.appendMissing();
              }
          }
          return result;
      }
docs: Maps the function across all rows, appending the results to a new NumberColumn
  
  @param fun function to map
  @return the NumberColumn with the results