简体   繁体   English

Jupyter 笔记本小部件

[英]Jupyter notebook widgets

enter image description here在此处输入图像描述

How can I get a particular product with most quantity in a particular month from Jan-DEC eg If I select Jan, and product with most quantity is Vicks, it retirns vicks 9000如何从 Jan-DEC 的特定月份获得数量最多的特定产品,例如如果我 select Jan,并且数量最多的产品是 Vicks,它会退役 vicks 9000

Accordingly your error IndentationError: unexpected indent you have a problem with an indent.因此,您的错误IndentationError: unexpected indent您遇到了缩进问题。

You are free to choose the number of spaces of indentation to use, but you then need to stick with it.您可以自由选择要使用的缩进空格数,但您需要坚持使用它。 If you indent one line by 4 spaces, but then indent the next by 3 (or 5, or 19, or...), you'll get this error.如果你将一行缩进 4 个空格,然后将下一行缩进 3(或 5,或 19,或......),你会得到这个错误。

For your example, you should add one more space in lines 4 and 6 as in line 3.对于您的示例,您应该像第 3 行一样在第 4 行和第 6 行中多添加一个空格。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM