jupyter笔记本_2种Jupyter笔记本技巧,可提高工作效率

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

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

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笔记本

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值