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 ; }
Maps the function across all rows appending the results to a new NumberColumn