Думаю, это то, что вы хотели сделать:
dict1= {"Player":["Virat Kohli","Jasprit Bumrah","Saurabh Netravalkar"],
"Role":["Batsman","Bowler", "Bowler"],
"Team":["India", "India", "USA"]}
dict2 = ["Monank Patel","Batsman","USA"]
dict1['Player'].append("Monank Patel")
dict1['Role'].append("Batsman")
dict1['Team'].append("USA")
df = pd.DataFrame(dict1)
print(df)
Player Role Team
0 Virat Kohli Batsman India
1 Jasprit Bumrah Bowler India
2 Saurabh Netravalkar Bowler USA
3 Monank Patel Batsman USA
Изменить:
dict1= {"Player":["Virat Kohli","Jasprit Bumrah","Saurabh Netravalkar"],
"Role":["Batsman","Bowler", "Bowler"],
"Team":["India", "India", "USA"]}
list2 = [["Monank Patel","Batsman","USA"], ["Monank Patel","Batsman","USA"]]
df = pd.DataFrame(dict1)
df = df.append(pd.DataFrame(list2, columns=df.columns))
print(df)
Player Role Team
0 Virat Kohli Batsman India
1 Jasprit Bumrah Bowler India
2 Saurabh Netravalkar Bowler USA
0 Monank Patel Batsman USA
1 Monank Patel Batsman USA