我正在使用PySpark在我的数据框中创建一个附加的BinaryColumn,然后使用它来过滤该数据框。此过程显示错误。
Click here to see the data
Click here to see the Binary Column
Click here to see the Schema
click here to see the error
尝试使用filter功能
filter
df_filter = df_bc.filter(col('binary_col') == 'false') df_filter.show()