Table Of Contents

Frame filter


filter(self, predicate)

Select all rows which satisfy a predicate.

Parameters:

predicate : function

UDF which evaluates a row to a boolean; rows that answer False are dropped from the Frame

Modifies the current frame to save defined rows and delete everything else.

More information on a UDF can be found at Python User Functions.