Another simple approach is to use pd.Dataframe.loc method.
row = [iname, ipassword, iemail]
df.loc[len(df)] = row
df.to_csv("login.csv", index=False)
Another simple approach is to use pd.Dataframe.loc method.
row = [iname, ipassword, iemail]
df.loc[len(df)] = row
df.to_csv("login.csv", index=False)