I have this dataframe
df = pandas.DataFrame({'A': [1, 1, 2], 'B': [2, 10, 9], 'C': [3.3, 5.4, 1.5], 'D': [4, 7, 15]},
index = ['a1', 'a2', 'a3'])
I want to do this filtering (if A == 1, then list of columns([B,C]) = 0)
Please anyone know how can I do this in pyspark?
Thank in advance