code: public Base64NDArrayBody toArray(SingleCSVRecord record) throws IOException {
          List<Writable> record2 = toArrowWritablesSingle(
                  toArrowColumnsStringSingle(bufferAllocator,
                          transformProcess.getInitialSchema(),record.getValues()),
                  transformProcess.getInitialSchema());
          List<Writable> finalRecord = execute(Arrays.asList(record2),transformProcess).get(0);
          INDArray convert = RecordConverter.toArray(finalRecord);
          return new Base64NDArrayBody(Nd4jBase64.base64String(convert));
      }
docs: Convert a raw record via
  the {@link TransformProcess}
  to a base 64ed ndarray
  @param record the record to convert
  @return the base 64ed ndarray
  @throws IOException