-3

I am trying add one pandas DataFrame to another DataFrame. How can I do this in the style of list.append?

usernames = {"anvar":"anvar123", "behruz":"Bex124", "maryam":"mary1241"}
emails = {"anvar":"[email protected]", "behruz":"[email protected]", "maryam":"[email protected]"}

df3 = pd.DataFrame({"Username": usernames, "Email": emails})
df3

data2 = {
    "Username": {"olimjon":"olimjon", "behruz":"Bek123"},
    "Email": {"olimjon":"[email protected]", "behruz":"Bek123"},
}

df4 = df3.append(pd.DataFrame(data2))
1

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.