question: public void removeColumn ( final int colIndex ) { final CSVInfo info = getInfo ( ) ; if ( info . header ) { final ArrayList < String > cols = new ArrayList < > ( Arrays . asList ( info . headers ) ) ; cols . remove ( colIndex ) ; info . headers = cols . toArray ( new String [ cols . size ( ) ] ) ; } info . cols -- ; for ( final CSVRow row : rows ) { if ( ! row . isCommentLine ( ) ) { row . removeElementAt ( colIndex ) ; } } saveMetaData ( ) ; }
target:  Remove the column represented by the index