错误:给定输入列pyspark无法解析“”

问题描述

执行以下操作时:

from tkinter import *

root = Tk()

def grid_cycle(b):
    print(b)

items = [6,3,5,4]

for x in items:
        
    Button(root,text="x",command=lambda *args: grid_cycle(x)).pack()

root.mainloop()

我遇到错误

给定输入列,无法解析“ dataframe = dataframe.withColumn( column,f.when( (f.col(column) == -1) | (f.col(column).isNull()) | (f.col('COLUMN_A').isNull()) | (f.col('COLUMN_B').isNull()),f.col(column)).otherwise(-1)) ”:[列名] ;;

我尝试了发布的解决方案,但并没有太大帮助。有人可以帮我吗?使用反引号没有帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)