代碼如下:In:f=open('E:/python/data.json','r+')In:fOut:這個輸出是什么意思?In:a=pd.Series(f)TypeErrorTraceback(mostrecentcalllast)in()---->1a=pd.Series(f)E:Anacondalibsite-packagespandascoreseries.pyin__init__(self,data,index,dtype,name,copy,fastpath)235ifnotis_list_like(data):236data=[data]-->237index=_default_index(len(data))238239#create/copythemanagerTypeError:objectoftype'_io.TextIOWrapper'hasnolen()出現(xiàn)錯誤不知道怎么修改,幫幫忙!
python處理json文件
www說
2019-05-25 14:12:44