jupyter笔记本
1:多线输出 (1 : Multi line Output)
While making analysis on any dataset, we need to use print method very often for print our variable. This can be lot’s of time consuming, isn’t it ?
在对任何数据集进行分析时,我们经常需要使用打印方法来打印变量。 这会很费时,不是吗?
What if we can print any variable or any message without print statement in Jupyter Notebook
如果我们可以在Jupyter Notebook中打印任何变量或任何消息而无需打印语句怎么办?
There is a trick by which we can get this.
有一个技巧可以使我们得到这个。
![Image for post](https://img-service.csdnimg.cn/img_convert/e8b34f8b59ec5b5360fb840c5833c384.png)
2:确认声音 (2 : Confirm Sound)
What if a sound played when our task completed in Jupyter Notebook
如果在Jupyter Notebook中完成任务后播放了声音怎么办
First we will make a function using “winsound” module
首先,我们将使用“ winsound”模块创建一个函数
![Image for post](https://img-service.csdnimg.cn/img_convert/f61da41d09e66d97e4b3032e508e166e.png)
put this function after your code line and when your code finished execution, windows play a sound
将此函数放在代码行之后,当代码执行完毕后,Windows会播放声音
翻译自: https://medium.com/@sudhirrdhameliya/2-jupyter-notebook-tricks-for-more-productivity-d038c1f54e68
jupyter笔记本