Konwersja listy na DataFrame za pomocą funkcji ZIP ()
import pandas as pd
# list of strings
list1 = ['Softhunt.net', 'Learn', 'coding', 'skills']
# list of int
list2 = [11, 22, 33, 44]
# Calling DataFrame after zipping both lists, with columns specified
df = pd.DataFrame(list(zip(list1, list2)), columns =['key', 'value'])
print(df)
Outrageous Ostrich