title: Delete last column from file with Python
body: <p>I am basically trying to do the same thing as this guy but with Python:
  <a href="https://stackoverflow.com/questions/26940261/how-can-i-delete-last-column-from-my-text-file">How can i delete last column from my text file</a></p>
  
  <p>How can I remove my last column?</p>
  
  <p>I tried to load the text using <code>numpy.loadtxt</code> first, and then just ignore the final array but it wouldn't load at all because the last column contains strings, instead of floats.</p>