# importing the pandas library
import pandas as pd
# reading the csv file
df = pd.read_csv("AllDetails.csv")
# updating the column value/data
# df is a file, loc is a code to finde element in csv file, inside of []: 5 is a row and
# 'Name' is a column
df.loc[5, 'Name'] = 'SHIV CHANDRA'
# writing into the file (rewrite csv file)
df.to_csv("AllDetails.csv", index=False)
print(df)
# so if in your csv file at row 5 and column 'Name' data was Kallem Kruthik now its
# gonna be SHIV CHANDRA