python读写文件

2019-07-07  本文已影响0人  Aerosols

(1)python读nc
https://blog.csdn.net/showpingzhang/article/details/83384780

(2)matplotlib
内置颜色https://matplotlib.org/gallery/color/named_colors.html#sphx-glr-gallery-color-named-colors-py
颜色组及渐变颜色 https://matplotlib.org/gallery/color/colormap_reference.html

(3)python读写excel文件

### read files
data=pd.read_excel(path,'sheet name',header=None)

### write files
writer = pd.ExcelWriter('data.xlsx')
df.to_excel(writer, sheet_name=str(i))
 writer.save()

https://blog.csdn.net/weixin_38168620/article/details/81380897

上一篇下一篇

猜你喜欢

热点阅读