title: Delete some rows of a CSV, in-place
body: <p>This:</p>
  
  <pre><code>import csv
  with open('original.csv', 'rb') as inp, open('new.csv', 'wb') as out:
      writer = csv.writer(out)
      for row in csv.reader(inp):
          if row[2] != "0":
              writer.writerow(row)
  os.remove('original.csv')
  os.rename('new.csv', 'original.csv')
  </code></pre>
  
  <p>allows to delete certain rows of a CSV.</p>
  
  <p><strong>Is there a more pythonic way to delete some rows of a CSV file, in-place?</strong> (instead of creating a file, deleting the original, renaming, etc.)</p>