我正在尝试比较列中的值,并将它们替换为Up/Down。基本上,标记数据帧。 这是我正在使用的代码。在此之后,列中的数字将被转换为9090999..-e格式,并且在“Up”行中我得到以下错误。TypeError: '>=' not supported between instances of 'str' and 'int' S
好的,这是我的代码,我想从文件中读取,然后将文件中的数字附加到列表中,然后附加一些其他数字,然后打印列表中最大的数字。the biggest number in a listFile "test.py", line 5, in <module>TypeError: '>' not supported between instances of 'int