title: convert Dataframe to 2d Array
body: <p>I have a data-frame of size (140000,22) dimensions.</p>
  
  <p>i have to create 2d array of equal dimensions to pass it into convolution neural network .</p>
  
  <p>Can you please guide how to transform on this dataframe</p>