摘要:
import pandas as pd d = {'x':100,'y':200,'z':300} s1 =pd.Series(d) print(s1.values) #dic转化为series ---------------------------------------------- [100 200 300] import pandas as pd L1= [100,200,... 阅读全文
摘要:
import pandas as pd df = pd.DataFrame({'ID'=[1,2,3],'Name':['Tim','Victor','Nick']}) 创建实例 df.to_excel('D:/Temp/output.xlsx') 创建一个方法 print('Done!') import pandas as pdpeople =pd.read_excel('D:/T... 阅读全文