I\'m trying to filter a PySpark dataframe that has None as a row value:
None
df.select(\'dt_mvmt\').distinct().collect() [Row(dt_mvmt=u\'2016-03-27\
if column = None
COLUMN_OLD_VALUE ---------------- None 1 None 100 20 ------------------
Use create a temptable on data frame:
sqlContext.sql("select * from tempTable where column_old_value='None' ").show()
So use : column_old_value='None'
column_old_value='None'