SyntaxFix
Write A Post
Hire A Developer
Questions
And if you want to add a row, you can use a dictionary:
df = pd.DataFrame() df = df.append({'name': 'Zed', 'age': 9, 'height': 2}, ignore_index=True)
which gives you:
age height name 0 9 2 Zed