Anaconda Jupyter 使用注意事项

Anaconda Jupyter 使用注意事项

1.将cell转换为markdown。

  1. First, select the cell you want to convert
  2. Press Esc to enter command mode (the cell border should turn blue)
  3. Press M to convert the cell to Markdown
  4. 在编辑模式下按下ESC键,使单元块(cell翻译软件提供的意思最接近的是单元格,但是我觉得叫做单元块更好些吧)推出编辑模式,进入命令模式,按下M键,当前单元格就变成MarkDown格式了。

2.代码补全

  1. 按Tab键
  • 如果只有一个可能的补全选项,它会自动填充
  • 如果有多个选项,会显示一个下拉菜单供您选择
  1. 在Jupyter Notebook中,您可以使用以下魔术命令来增强或者关闭增强(False)自动补全:

%config IPCompleter.greedy=True

  1. 若是不生效,那就关闭重新打开当前文档。

3.提交版本库(git)时候,去掉运行结果

  1. 在Jupyter Notebook菜单中选择 Kernel > Restart & Clear Output
  2. 保存notebook
  3. 然后进行git提交
相关推荐
53488736abcdefg15 小时前
Anaconda+Jupyter+NumPy
jupyter·numpy·anaconda
weixin_461769402 天前
VS Code 中创建 Jupyter 文件(.ipynb)
ide·python·jupyter
*wait for?3 天前
利用uv安装python包,并运行jupyter
python·jupyter·uv
程序员清风9 天前
Python 数据分析环境搭建:从 Jupyter 到 pandas
python·jupyter·数据分析
oooost10 天前
Jupyter Notebook 常用快捷键速查
ide·python·jupyter
开开心心_Every10 天前
文件夹批量创建工具支持同级和多层级
运维·服务器·游戏·jupyter·智能手机·pdf·postman
Xiu Yan20 天前
Python 数据分析:Pandas DataFrame 零基础入门教程
python·jupyter·pycharm·numpy·pandas
Xiu Yan21 天前
Python 数据分析:Pandas Series 零基础入门教程
python·jupyter·pycharm·numpy·pandas
troy12824 天前
Python 基础语法(九):Django/Flask/FastAPI 三大 Web 框架详细对比解析
python·jupyter·django·flask·github·fastapi
kyrie_sakura1 个月前
python学习笔记15 -- Anaconda,Jupyter,numpy
python·学习·jupyter·numpy