concept filter() in category pyspark

appears as: filter()
Data Analysis with Python and PySpark

This is an excerpt from Manning's book Data Analysis with Python and PySpark.

  • You can filter columns using the where() or filter() methods and providing a test that will return True or False, only the records returning True will be kept.