convert Dataframe to 2d Array
You just need to call .values on the DataFrame.
If for example your dataframe is called df, then you can pass df.values to your convolutional neural network.
I have a data-frame of size (140000,22) dimensions.
i have to create 2d array of equal dimensions to pass it into convolution neural network .
Can you please guide how to transform on this dataframe