title: Delete specific columns from csv file in python3
body: <p>Need to delete some specific column and rows(by index) of multiple csv files, without creating new files.</p>
  
  <p>For the code below, it is giving output with new blank rows after each row.</p>
  
  <pre><code>import csv
  
  with open('file.csv') as fd:
     reader = csv.reader(fd)
     valid_rows = [row for idx, row in enumerate(reader) if idx != 0]
  
  with open('file.csv', 'w') as out:
     csv.writer(out).writerows(valid_rows)
  </code></pre>
  
  <p>What is the simpler way to do this(might be by other python libraries)?</p>