title: Converting Numpy array to Dataframe using pandas
body: <p>I am struggling to convert a NumPy array to a data frame.
  This has been imported from a CSV file.
  <a href="https://i.stack.imgur.com/r5DWh.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I have tried codes like</p>
  <pre><code>carsdf = pd.DataFrame(newdf=newdf[1:,1:],
                           index=newdf[1:,0],
  columns=newdf[0,1:])
  </code></pre>
  <p>however, get a type error.</p>
  <p>I have tried reshaping</p>
  <p>print(mydata.reshape((213, 26)))</p>
  <p>and get value errors
  Now am flustered as I know how to rectify typos, errors, capitalize and fetch data and all the other stuff only my coding is pretty raw and am stuck with this as it is the beginning of the assignment.
  would appreciate all advice.</p>