📜  创建数据框 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:05.802000             🧑  作者: Mango

代码示例6
import pandas as pd
 
# initialise data of lists.
data = {'Name':['Tom', 'nick', 'krish', 'jack'],
        'Age':[20, 21, 19, 18]}
 
# Create DataFrame
df = pd.DataFrame(data)
 
# Print the output.
df