import pandas as pd
df = pd.DataFrame()
list = [['Samreena', 'Computer Science', 100],
['Asif', 'Maths', 90],
['Mirha', 'Chemistry', 60]
]
for student in list:
temp_df = pd.DataFrame([student], columns=['Student Name', 'Subjects', 'Marks'])
df = df.append(temp_df, ignore_index=True)
print(df)