Suppose I've a list of data that contains multiple row values for multiple columns:
data = ['jack', 34, 'Sydney', 155 , 'Riti', 31, 'Delhi', 177.5 , 'Aadi', 16, 'Mumbai', 81 ,
'Mohit', 31, 'Delhi', 167 , 'Veena', 12, 'Delhi', 144 , 'Shaunak', 35, 'Mumbai', 135 ,
'Shaun', 35, 'Colombo', 111]
And I've another list that contains the name of columns:
columns = ['Name', 'Age', 'City', 'Score']
Now how can I merge these two lists into a single dataframe with pandas, like this?