delete rows in csv based on specific column value python
问题 I have a large csv with the following header columns id , type , state , location , number of students and the following values: 124, preschool, Pennsylvania, Pittsburgh, 1242 421, secondary school, Ohio, Cleveland, 1244 213, primary school, California, Los Angeles, 3213 155, secondary school, Pennsylvania, Pittsburgh, 2141 etc... The file is not ordered and I want a new csv file that contains all the schools with the number of students above 2000. The answers that I found were regarding to