[英]How do I prevent The Zen of Python from displaying every time I run a script?
Ever since I set pd.options.mode.chained_assignment = None
The Zen of Python prints to the terminal every time I run a script!自从我设置pd.options.mode.chained_assignment = None
每次我运行脚本时,Python 的禅宗都会打印到终端! This isn't good for production.这对生产不利。 I have tried switching back and it still prints.我试过切换回来,它仍然打印。 How do I disable this?如何禁用此功能?
Also, does options.mode.chained_assignment
disable chained assignment or disable the warning?另外, options.mode.chained_assignment
是否禁用链式分配或禁用警告?
果然我有一条线import this
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.