Konwersja ramki danych z listy za pomocą listy w słowniku
# 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