📜  python 初始化数据框 - Python 代码示例

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

代码示例1
import pandas as pd

data = [[0, 0, 0] , [1, 1, 1]]
columns = ['A', 'B', 'C']
df = pd.DataFrame(data, columns=columns)