@ Override public IntColumn asIntColumn ( ) { IntArrayList values = new IntArrayList ( ) ; for ( float d : data ) { values . add ( ( int ) d ) ; } values . trim ( ) ; return IntColumn . create ( this . name ( ) , values . elements ( ) ) ; }
Returns a new IntColumn containing a value for each value in this column truncating if necessary .