📅  最后修改于: 2022-03-11 14:47:19.857000             🧑  作者: Mango
# import pandas library
import pandas as pd
#define scalar values
a = 1
b = 2
c = 3
d = 4
# creating DataFrame by transforming Scalar Values to List
df = pd.DataFrame({'A': [a], 'B': [b], 'C': [c], 'D': [d]})
print(df)