科学网

 找回密码
  注册
python下安装eemd
夏江江 2017-9-2 10:43
以下是 windows系统 python下的安装: 基本是参考网站: http://juiceyang.com/2016/03/24/how-to-install-pyeemd-on-windows-in-3-steps/ (1)值得注意的是,在安装的时候,最好用右键选择“管理员身份运行”MinGW (2)MinGW中安装git命令: 四、安装 Git搜索 gitpacman -Sl |grep git 安装 MSYS ...
个人分类: python|5612 次阅读|没有评论
Kivy-- [CRITICAL] [App] Unable to get a Window, abort.
夏江江 2017-6-25 13:52
It took me a whole day to fix this problem.WhenI run the simplest kivy example .py errors show as flowing, .... Unable to find any valuable Window provider. .... Unable to get a Window, abort. Finally, it works after a lot of trials.But honestly, I don't know the cause ...
个人分类: python|6460 次阅读|没有评论
Pandas--basis
夏江江 2017-5-30 22:38
### pandas import pandas as pd import numpy as np s = pd.Series( ) dates = pd.date_range(20170101,periods=6) df = pd.DataFrame(np.random.randn(6,4),index = dates,columns= ) #index 定义行名字 #columns 定义列名字 df.dtypes df.index df.columns ...
个人分类: python|1930 次阅读|没有评论
Numpy-basis
夏江江 2017-5-30 22:37
##import matplotlib.pyplot as plt ##import numpy as np ## ### 坐标轴位置变化 ## ##plt.xlim(-5,5) ##plt.ylim(-4,4) ## ## ### ##ax = plt.gca() ##ax.spines .set_color(none) ##ax.spines .set_color(none) ##ax.xaxis.set_ticks_position(bottom) ##ax.yaxis.set_ticks_position( ...
个人分类: python|1667 次阅读|没有评论
读取NC的时间转换
夏江江 2017-5-18 11:20
from netCDF4 import num2date, date2num ncin = nc.Dataset(path+/+f) tim = ncin.variables ms = str(num2date(tim , units=tim.units, calendar=tim.calendar)) me = str(num2date(tim , units=tim.units, calendar=tim.calendar)) & ...
个人分类: python|5153 次阅读|没有评论
读写mat
夏江江 2017-4-19 13:40
import scipy.io as sio sio.savemat(rzweemd.mat,{U_value:imfs1,U_click:imfs2,U_imp:imfs3,U_revenue_U_clicks:imfs4}) dub = sio.loadmat(r'P:IAPBIGDATA花期results_accumulated_temperaturesresults_heatsum_new.mat ...
个人分类: python|1338 次阅读|没有评论

本页有 4 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-12 23:24

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部