What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-02 04:10:12
Filters rows using the given condition
# Filters rows using the given condition df.filter(df.age > 3).collect() # [Row(age=5, name='Bob')] df.where(df.age == 2).collect() # Row(age=2, name='Alice')] df.filter("age > 3").collect() # [Row(age=5, name='Bob')] df.where("age ... Add solution
Best helpers
Ranking is empty