title: Convert numpy array to pandas dataframe
body: <p>I have a numpy array of size <code>31x36</code> and i want to transform into pandas dataframe in order to process it. I am trying to convert it using the following code:</p>
  
  <pre><code>pd.DataFrame(data=matrix,
            index=np.array(range(1, 31)),
            columns=np.array(range(1, 36)))
  </code></pre>
  
  <p>However, I am receiving the following error:</p>
  
  <blockquote>
    <p>ValueError: Shape of passed values is (36, 31), indices imply (35, 30)</p>
  </blockquote>
  
  <p>How can I solve the issue and transform it properly?</p>