Python报错ValueError: arrays must all be same length

 

 

import pandas as pd
dd = {
'c1':[],
'c2':[]
}
df = pd.DataFrame(dict([(k, pd.Series(v)) for k, v in dd.items()]))

 

posted @   沉迷编程的程序员  阅读(615)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示