01 2022 档案
摘要:for index, row in df.iterrows(): df.loc[index,'deltaLoad']=_calc_deltaLoad(row['deltaTmp'],row['today_mean_tmp'])
阅读全文
摘要:https://zhuanlan.zhihu.com/p/35709485?tdsourcetag=s_pctim_aiomsg
阅读全文
摘要:https://www.cnblogs.com/WSX1994/p/12930654.html https://www.cnblogs.com/ziytong/p/12820684.html https://blog.csdn.net/weixin_41923961/article/details/
阅读全文
摘要:https://www.zhihu.com/question/299719792
阅读全文
摘要:https://blog.csdn.net/Datawhale/article/details/102889797?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTR
阅读全文
摘要:https://blog.csdn.net/sjtulgl/article/details/91040644 最后要重启spyder,只重启内核无效!
阅读全文
摘要:https://www.bilibili.com/video/BV1mN411Z7j1?p=5&spm_id_from=pageDriver
阅读全文
摘要:https://blog.csdn.net/weixin_37988176/article/details/109422928?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault
阅读全文
摘要:https://baijiahao.baidu.com/s?id=1638482638370120460&wfr=spider&for=pc
阅读全文
摘要:https://zhuanlan.zhihu.com/p/102540344
阅读全文
摘要:[root@localhost ~]# vncserverNew 'localhost:1 (root)' desktop is localhost:1sudo -iexport DISPLAY=ubuntu-Super-Server1:16xhost +
阅读全文
摘要:https://www.baidu.com/s?ie=utf-8&f=3&rsv_bp=1&rsv_idx=1&tn=baidu&wd=2021%E6%98%A5%E8%8A%82%E6%98%AF%E5%9C%A8%E5%87%A0%E6%9C%88%E5%87%A0%E6%97%A5&fenle
阅读全文
摘要:df['holiday'][0:10]=4
阅读全文
摘要:关闭相关exe
阅读全文
摘要:res=output.loc[(output['date'] >= pd.to_datetime('2019-1-1')) & (output['date'] <= pd.to_datetime('2022-1-9'))] condition=(df['constant_std']==0) & ((
阅读全文
摘要:https://zhuanlan.zhihu.com/p/106320452 http://www.360doc.com/content/21/1018/08/73874201_1000227617.shtml
阅读全文
摘要:https://www.modb.pro/db/117067 上 https://www.modb.pro/db/129193 下
阅读全文
摘要:https://zhuanlan.zhihu.com/p/91991467import xgboost as xgb import shap from sklearn.ensemble import RandomForestRegressor # load JS visualization code
阅读全文
摘要:系统自带的快捷键 Win+R,打开运行,输入 cmd 按快捷键ctrl + shift + enter 弹出的窗口点击是,即可以管理员身份运行cmd
阅读全文
摘要:from xgboost import plot_importance plot_importance(model,max_num_features=10,importance_type='gain')
阅读全文
摘要:在开头导入pandas后加入以下: #设置行不限制数量pd.set_option(‘display.max_rows’,None) #设置列不限制数量pd.set_option(‘display.max_columns’,None) #设置value的显示长度为100,默认为50pd.set_opt
阅读全文
摘要:ps -ef | grep vnc sudo kill -9 xxx
阅读全文
摘要:ps -ef|grep xxx sudo kill -9 pid
阅读全文
摘要:import matplotlib.pyplot as pltfig=plt.figure(figsize=[20,9])#设置图像宽高fig1 = fig.add_subplot(1,2,1)###1行2列,处于第1个位置fig2 = fig.add_subplot(1,2,2)fig1.plot
阅读全文
摘要:import matplotlib.pyplot as pltval_f1_list=[1,2,3]train_f1_list=[2,3,4]plt.figure(figsize=[20,9])#设置图像宽高plt.plot(val_f1_list,label="val_f1",color="#F0
阅读全文
摘要:conda install -n 自己指定的conda虚拟环境名称 ipykernel=5
阅读全文
摘要:解决办法: 1.检查是不是在的虚拟环境中 若启动了python的虚拟环境,并在虚拟环境的命令行中运行jupyter notebook是会出现上面DLL load failed的错误的。 所以当要在虚拟环境中启动Jupyter Notebook。先要在虚拟环境中使用pip install jupyte
阅读全文
摘要:首先可以看一下自己在conda里面配置了哪些环境,使用conda env list 1.在cmd中切换到想要的环境,比如说adda 2.在adda环境中中安装好ipykernel 3.python -m ipykernel install --name adda 执行完这个语句之后,会自动在目录【C
阅读全文
摘要:upyter Notebook 有两种键盘输入模式。编辑模式,允许你往单元中键入代码或文本;这时的单元框线是绿色的。命令模式,键盘输入运行程序命令;这时的单元框线是灰色。 命令模式 (按键 Esc 开启)快捷键: Enter : 转入编辑模式 Shift-Enter : 运行本单元,选中下个单元 C
阅读全文
摘要:学习工作了好几年,在敲代码的路上遇见了无数的坑和填坑的方案,有些深深印在脑海中,有些却忘了,再次遇到还要重新搜索,挺亏的。之前怕麻烦,现在决定将他们记录在该博客之中,方便再次查找。
阅读全文