concept filter() in category pyspark
appears as: filter()

This is an excerpt from Manning's book Data Analysis with Python and PySpark.
You can filter columns using the where()orfilter()methods and providing a test that will returnTrueorFalse, only the records returningTruewill be kept.