Pandas dataframe ValueError: All arrays must be of the same length
d={'Dosage':[1,2,3,4,5],'HalfLife':[6,7,8,9,10,11,12,13,14,15],'Cmax':[20,30]}方式一:df1=pd.DataFrame.from_dict(d,orient='index')df结果如下:方式二:df2=pd.DataFrame(pd.DataFrame.from_dict(d,orient='index').value