>> import pandas as pd >> pd.DataFrame([[‘a’, ‘b’, ‘c’], [‘as’, ‘easy’, ‘as’], [1, 2, 3]], columns = [‘first’, ‘second’, ‘third’]) >> import pandas as pd >> list1 = [‘a’, ‘b’, ‘c’] >> list2 = [‘as’, ‘easy’, ‘as’] >> list3 = [1, 2, 3] >> pd.DataFrame([list1, list2, list3], columns = [‘first’, ‘second’, ‘third’])