After the submission of form values, I want to store them in CSV and print them in the application. But getting this error.
("Expected bytes, got a 'datetime.date' object", 'Conversion failed for column) Start_Date(YY-MM-DD) with type object')
After the submission of form values, I want to store them in CSV and print them in the application. But getting this error.
("Expected bytes, got a 'datetime.date' object", 'Conversion failed for column) Start_Date(YY-MM-DD) with type object')
There must be something wrong in your code.
I just wrote. pd.read_csv("data.csv")
and i want to print that. read_csv reads the previous form entered values
You wanting to print stuff cannot cause any errors. Your code can. Is pd.read_csv("data.csv")
the code causing the error?