code: public Base64NDArrayBody toArray(BatchCSVRecord batch) throws IOException {
          List<List<Writable>> converted =  execute(toArrowWritables(toArrowColumnsString(
                  bufferAllocator,transformProcess.getInitialSchema(),
                  batch.getRecordsAsString()),
                  transformProcess.getInitialSchema()),transformProcess);
  
          ArrowWritableRecordBatch arrowRecordBatch = (ArrowWritableRecordBatch) converted;
          INDArray convert = ArrowConverter.toArray(arrowRecordBatch);
          return new Base64NDArrayBody(Nd4jBase64.base64String(convert));
      }
docs: Convert a raw record via
  the {@link TransformProcess}
  to a base 64ed ndarray
  @param batch the record to convert
  @return teh base 64ed ndarray
  @throws IOException