epub文档 Jupyter Notebook 5.3.1 Documentation

4.37 MB 186 页 0 评论
语言 格式 评分
英语
.epub
3
摘要
The Jupyter Notebook is an interactive computing environment that enables users to create documents combining live code, narrative text, equations, images, and video. It consists of a web application, kernels, and notebook documents. The web application supports in-browser editing, code execution, and rich media display. Kernels execute code in specific languages and handle computations. Notebook documents are self-contained records of computations that can be shared. The latest release, 5.3.0, introduces improvements such as terminal support for Windows, a 'restart and run all' button, and enhanced security measures.
AI总结
### 《Jupyter Notebook 5.3.1 Documentation》摘要 #### 1. **概述** Jupyter Notebook 是一个基于 web 的交互式计算环境,用户可以通过其中创建包含代码、文本、数学公式、图像和视频等内容的文档。其核心组件包括: - **Web 应用程序**:用于交互式编写和运行代码,支持语法高亮、自动补全等功能。 - **Notebook 文档**:包含计算输入、输出、文本、公式等内容,可用于分享和记录计算过程。 - **Kernel**:负责执行代码并返回结果,支持多种编程语言。 #### 2. **主要功能** - 支持在浏览器中直接编辑和运行代码,并显示计算结果。 - 支持 Markdown 和 LaTeX 格式的文本编写,MathJax 用于渲染数学公式。 - 支持嵌入图像、图表(如 Matplotlib 代渲)以及其他媒体内容。 - 文档可导出为多种格式,便于通过邮件、Dropbox、版本控制系统或 nbviewer.jupyter.org 共享。 #### 3. **安装与运行** - 在线安装文档:[Jupyter Notebook 安装指南](https://jupyter.readthedocs.io/en/latest/install.html) - 运行指南:[Jupyter Notebook 运行指南](https://jupyter.readthedocs.io/en/latest/running.html) - 升级提示: - 使用 `pip install notebook --upgrade` 或 `conda upgrade notebook` 升级到最新版本。 - 建议先升级 pip 到版本 9+,使用 `pip install pip --upgrade`。 #### 4. **安全性** - 默认使用令牌认证,支持其他替代认证方式。 - 处理恶意文件的安全问题: - **CVE-2015-6938**:恶意文件名的修复。 - **CVE-2015-7337**:恶意二进制文件的修复。 - 文档安全性包括对 Notebook 文档的信任模型和漏洞报告方式。 #### 5. **版本更新日志** - **版本 5.3.0**: - 支持 Windows 上的终端。 - 删除文件时将文件移动到系统回收站,而非永久删除。 - 添加“重启并运行所有”按钮。 - 程序化复制到剪贴板的支持。 - **版本 5.3.1 及其他更新**: - 解决了一些安全漏洞和 bug。 - 提升了界面用户体验,例如移动单元格工具栏到“查看”菜单。 - 修复了大型输出对浏览器性能的影响。 - 支持嵌套 SVG 输出。 #### 6. **延展与配置** - 支持通过 Python 包分发 Notebook 扩展。 - 自定义配置,例如修改默认缩进、键盘快捷键等。 - 支持将 Notebook 集成到其他网站或作为 JupyterHub 使用。 #### 7. **社区与资源** - 社区支持:[Stack Overflow - Jupyter-notebook](https://stackoverflow.com/questions/tagged/jupyter-notebook) - 开发者文档和贡献指南:[Jupyter Notebook GitHub](https://github.com/jupyter/notebook) #### 8. **关键提示** - 使用 `pip install pip --upgrade` 升级 pip 版本以确保兼容性。 - 文档和教程可通过 GitHub 和官方网站获取更多详细信息。 Jupyter Notebook 5.3.1 版本在功能性、安全性和用户体验方面均有显著改进,适合用于数据科学、教育和研究等场景。
P1
P2
P3
P4
P5
P6
P7
下载文档到本地,方便使用
- 可预览页数已用完,剩余 179 页请下载阅读 -
文档评分
请文明评论,理性发言.