parameters: (self, boolean_mask)
return_statement: return self._from_columns_like_self(
              apply_boolean_mask(list(self._columns), boolean_mask),
              column_names=self._column_names,
          )
docstring: Apply boolean mask to each row of `self`.
  
          Rows corresponding to `False` is dropped.
docstring_summary: Apply boolean mask to each row of `self`.
docstring_tokens: Apply boolean mask to each row of self .
function: def _apply_boolean_mask(self, boolean_mask):
          """Apply boolean mask to each row of `self`.
  
          Rows corresponding to `False` is dropped.
          """
          boolean_mask = cudf.core.column.as_column(boolean_mask)
          if not is_bool_dtype(boolean_mask.dtype):
              raise ValueError("boolean_mask is not boolean type.")
  
          return self._from_columns_like_self(
              apply_boolean_mask(list(self._columns), boolean_mask),
              column_names=self._column_names,
          )
function_tokens: def _apply_boolean_mask ( self , boolean_mask ) : boolean_mask = cudf . core . column . as_column ( boolean_mask ) if not is_bool_dtype ( boolean_mask . dtype ) : raise ValueError ( "boolean_mask is not boolean type." ) return self . _from_columns_like_self ( apply_boolean_mask ( list ( self . _columns ) , boolean_mask ) , column_names = self . _column_names , )