标签: python python-3.x jupyter-notebook
我正在使用Jupyter Notebook并尝试运行此代码,但始终收到此错误。我的代码或Jupyter Notebook有问题吗?
length = 0 for item in df['documents']: newL = len(item) if newL>length: length=newL print(length)