![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具相关
潜行者丶
记录工作和学习的过程。
展开
-
jupyter notebook中执行R脚本
R官网下载R安装包并安装:R官网关联jupyter notebook# R Console中依次执行如下命令:install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))devtools::install_github('IRkernel/IR...原创 2019-10-30 14:50:23 · 840 阅读 · 0 评论 -
jupyter notebook绘图中文乱码解决
matplotlib中文显示import matplotlib.pyplot as pltplt.rcParams['font.sans-serif']=['SimHei'] #用来正常显示中文标签plt.rcParams['axes.unicode_minus']=False #用来正常显示负号seaborn中文显示matplotlib中文显示设置对seaborn无效,采用如下方式...原创 2019-10-29 16:05:10 · 2033 阅读 · 0 评论 -
jupyter图表背景色采用jupyterthemes主题色
jupyter notebook执行如下代码:from jupyterthemes import jtplotjtplot.style(grid=False)执行前后效果对比:原创 2019-10-29 09:47:54 · 1223 阅读 · 0 评论 -
Jupyter Notebook插件工具Nbextensions
1.Nbextensions安装英文文档链接pip install jupyter_contrib_nbextensionsjupyter contrib nbextension install --user # 若未安装成功则执行2.常用插件2.1 Hide input all一键隐藏所有输入2.2 Toggle all line numbers代码单元内显示行序号...原创 2019-10-28 10:56:26 · 1619 阅读 · 1 评论 -
git错误问题
1.git add的时候报错fatal: Unable to create : …File exists.原因:已经有add文件存在,无法创建新的add。需要解除锁定释放add。解决方法:git bash 执行命令:rm -f ./.git/index.lock...原创 2019-10-24 22:24:38 · 241 阅读 · 0 评论 -
jupyter themes设置
jpyter themesgithub介绍安装和升级pip install jupyterthemes pip install --upgrade jupyterthemes 主题设置-t:安装的主题名-f:代码字体类型-fs:代码字体大小-tfs:文本/MD字体大小-ofs:输出区域字体大小-dfs:pandas DF输出字体大小-lineh:行高-cellw:行...原创 2019-10-18 18:00:45 · 2305 阅读 · 4 评论 -
Visual Studio Code之Python交互式窗口
VS Code2019年10月8日,python扩展插件更新后增加了交互式窗口功能。新功能使vs code能像jupyter notebook一样的便捷。使其更加适用于数据分析和挖掘的工作。与pycharm相比,更轻量级,反映速度更快。与spyder相比,界面更好看,扩展应用丰富。与Jupyter notebook相比,代码间布局更好。...原创 2019-10-17 15:44:42 · 30762 阅读 · 4 评论