Hi I don't how to manage this challenge(pandas, DataFrame, CSV)

Viewed 24
    if is_ok:
        data_dict["website"].append(website)
        data_dict["email"].append(password)
        data_dict["password"].append(email)
        entry_web.delete(0, END)
        entry_pas.delete(0, END)
        data_frame = pandas.DataFrame(data_dict)
        data_frame.to_csv("data.csv")

If I add somethig that (saved under the variables in the round braces)should append the data to the dictionary and be shown under a new idex in the dataframe, but insteat the new data replace the old one and the dataframe is updatet and the new data is under the index 0.

0 Answers
Related