Question about KNIME python numpy output
Hello,
I am very good at Python and Tensorflow, but I am newbie of KNIME.
I have a question.
Assuming that I am using “Python source” module in KNIME.
import tensorflow as tf
from tensorflow import keras
import numpy as np
import matplotlib.pyplot as plt
fashionmnist = keras.datasets.fashionmnist(trainimages, trainlabels), (testimages, testlabels) = fashionmnist.loaddata()
I want to use “train_images” numpy variable as output, and the dimension is (60000, 28, 28).
However, I found that numpy cannot be used for output of “Python source” module, but only “pandas dataframe” can be used. But, my data is 3d data, so conversion (from numpy to pandas) would be tricky…
Do you have any good solution for this?
Thank you!!!