📜  将数组转换为数据框 python 代码示例

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

代码示例2
import numpy as np
import pandas as pd

my_array = np.array([[11,22,33],[44,55,66]])

df = pd.DataFrame(my_array, columns = ['Column_A','Column_B','Column_C'])

print(df)
print(type(df))