read specific line based on column value csv in python
main.py
import pandas as pd
# Load the CSV file into a DataFramedf = pd.read_csv('file.csv')
# Find the specific line where column 'columnName' has a certain valuespecific_line = df.loc[df['columnName'] == 'desiredValue']
print(specific_line)