jupyter notebook的安装与使用
2017-10-08 10:52
876 查看
最近开始学习机器学习,发现一个非常实用的python交互式编程工具jupter notebook,下面就用2w+1h(what+why+how)
一、什么是jupyter notebook(what)
jupyter Notebook(此前被称为 IPython notebook)是一个交互式笔记本,支持运行 40 多种编程语言。 Jupyter Notebook 的本质是一个 Web 应用程序,便于创建和共享文学化程序文档,支持实时代码,数学方程,可视化和 markdown。 用途包括:数据清理和转换,数值模拟,统计建模,机器学习等等 。【来源于百度百科】
二、为什么使用jupyter notebook(why)
数据挖掘领域中最热门的比赛 Kaggle 里的资料都是Jupyter 格式1.我个人的感觉是jupyter notebook就像一张草稿纸,你可以通过它来进行你的思考探索过程,交互式的进行,边看编写
2.支持的格式多,code、Markdown等,还有各种快捷键
3.免费
三、如何使用jupyter notebook(how)
1、安装
In [6]:pip install jupyter
The following command must be run outside of the IPython shell: $ pip install j b0e7 upyter The Python package manager (pip) can only be used from outside of IPython. Please reissue the `pip` command in a separate terminal or command prompt. See the Python documentation for more informations on how to install packages: https://docs.python.org/3/installing/
2、启动
jupyter notebook运行上面的结果之后,将看到如下输出3、使用
在主页面的右上角点new即可新建一个你想要的文件类型。如上图,jupyter也可以打开一个text文本编辑器4、python编辑器介绍
点击python3后出现如下界面notebook 界面由以下部分组成: notebook 的名称 主工具栏,提供了保存、导出、重载 notebook,以及重启内核等选项 快捷键 notebook 主要区域,包含了 notebook 的内容编辑区这个被称为单元格,每个 notebook 由多个单元格构成,而每个单元格又可以有不同的用途。每个单元格以[ ]开头。在这种类型的单元格中,可以输入任意代码并执行。单元格内容输入完成后按快捷键shift+Enter就可以执行,并将光标移动到下一个单元格In [ ]:
相关文章推荐
- Jupyter Notebook(一)安装配置与使用
- 安装Anaconda3 后,怎样使用 jupyter notebook的 Python 2.7kernel(两个核可选择)
- jupyter notebook的安装与使用
- Jupyter notebook安装使用中的问题
- python jupyter notebook 安装及使用
- macOS上安装TensorFlow并在Jupyter Notebook中使用
- jupyter notebook的安装与使用
- 在windows下安装Jupyter Notebook的安装和使用
- Jupyter notebook安装与使用
- jupyter notebook的安装与使用
- Jupyter Notebook安装及简单使用
- jupyter notebook 的安装和使用
- 在jupyter notebook下使用, 安装在virtualenv下的tensorflow
- jupyter notebook的安装与使用
- Mac 中卸载anaconda使用pip安装jupyter notebook
- pycharm中使用jupyter notebook——利用pip安装jupyter
- Mac下Jupyter(即IPython-notebook)的搭建及使用(更建议安装Anaconda环境直接自带jupyter notebook)
- 在Jupyter notebook和spyder上用python做数据挖掘,安装使用简介和常见错误
- Anaconda安装配置&jupyter notebook使用
- [完美解决]如何在windows安装docker toolbox,使用tensorflow,Jupyter Notebook,各种问题的解决方案