1. 打开cmd,然后,输入命令“jupyter notebook --generate-config”,进入到Jupyter的安装目录,我的是在D:\Python\Anaconda\Scrips中。 2. 打开Jupyter_notebook_config.py文件 3. 找到214行,#c.No ...
分类:
其他好文 时间:
2019-08-13 22:55:52
阅读次数:
261
总结了jupyter常用的快捷键 两种模式转换命令模式(Command mode )和 编辑模式(Edit mode)。 在一个cell中,按下Enter,进入Edit模式,按下Esc,进入Command 模式 命令模式下的快捷键: Enter:转入编辑模式 Ctrl+Home:定位到文件首 Ctr... ...
分类:
其他好文 时间:
2019-08-11 23:21:15
阅读次数:
119
在juoyter notebook中直接通过df输出DataFrame时,显示的样式为表格样式,通过sytle可对表格的样式做一些定制,类似excel的条件格式。 对表格创建样式有两种方式,都需要额外定义一个处理样式的函数 ①df.style.applymap(func,*args,**kwargs ...
分类:
其他好文 时间:
2019-08-11 22:48:28
阅读次数:
251
python(配置) 一、环境变量 1)在命令提示符中输入anaconda navigator:启动anaconda进入页面选择Jupyter(launch) 2)conda list 查看安装的库 两种进入python 生成jupyter文件 1)输入命令:jupyter notebook --g ...
分类:
编程语言 时间:
2019-08-11 00:24:01
阅读次数:
97
安装好Anaconda 3以后,就可以使用Jupyter notebook了,但是我们打开Jupyter notebook后,发现界面是一个默认的目录,这个目录在哪里?如果想把自己写的程序文件保存在自己新建的一个文件夹里,修改默认目录到自建的文件夹下,该如何做呢! 以下 先看一下Jupyter no ...
分类:
其他好文 时间:
2019-08-09 20:01:54
阅读次数:
172
又是美好的一天 开开心心写代码 1. 安装ipython, jupyter pip install ipython pip install jupyter 2. 生成配置文件[root@50eb5057baac /]# jupyter notebook --generate-config Writi ...
分类:
系统相关 时间:
2019-08-09 17:46:50
阅读次数:
526
参考:https://www.jianshu.com/p/afea092dda1d 需要在Anaconda里安装一个插件。 回到终端下面,用C-c退出目前正在运行的Jupyter Notebook Server,然后执行: 再重新开启Jupyter Notebook: ...
分类:
其他好文 时间:
2019-08-09 13:20:29
阅读次数:
70
1,anaconda有64位和32位两个版本,支持主流操作系统 2,可在清华镜像网站下载(曾经终止过,现在已经恢复) 3,下载安装后要装插件,可以是通过nbextensions(参见:https://blog.csdn.net/August1226/article/details/80762632) ...
分类:
编程语言 时间:
2019-08-09 11:50:21
阅读次数:
109
一、Jupyter安装 前提需要已经安装好python环境~ 接着,Python3x版本安装路径下执行pip命令安装 pip3 install Jupyter 看网速,安装完后会显示安装成功一段话即可。 二、启动jupyter notebook两种方法 1:命令行窗口输入jupyter notebo ...
分类:
其他好文 时间:
2019-08-03 00:36:47
阅读次数:
245
列出当前kernel: jupyter kernelspec list 删除已有环境:jupyter kernelspec remove NAME 安装新kernel ipython kernel install --name NAME” “python -m ipykernel install - ...
分类:
其他好文 时间:
2019-08-01 09:20:16
阅读次数:
136