title: Deleting specific rows of CSV file in python
body: <p>I have a CSV file, and i want to delete some rows of it based on the values of one of the columns. I do not know the related code to delete the specific rows of a CSV file which is in type <code>pandas.core.frame.DataFrame</code>.</p>
  
  <p>I read related questions, and i found that people suggest writing every line that is acceptable in a new file. I do not want to do that. The thing that i want is:</p>
  
  <p>1) to delete the rows that I know the index of them (number of the row)</p>
  
  <p>or</p>
  
  <p>2) to make a new CSV in the memory of the python (not to write and again read it )</p>