There are multiple SO questions addressing some form of this topic, but they all seem terribly inefficient for removing only a single row from a csv file (usually they invol
You can do it using Pandas. If your data is saved under data.csv, the following should help:
import pandas as pd df = pd.read_csv('data.csv') df = df[df.fname != 'Sarah' ] df.to_csv('data.csv', index=False)