Преобразование DataFrame из списка с использованием списка в словаре
# import pandas as pd
import pandas as pd
# list of name, degree, score
n = ["apple", "grape", "orange", "mango"]
col = ["red", "green", "orange", "yellow"]
val = [44, 33, 22, 11]
# dictionary of lists
dict = {'fruit': n, 'color': col, 'value': val}
df = pd.DataFrame(dict)
print(df)
Outrageous Ostrich