parameters: (self)
return_statement: return bools_to_mask(self)
docstring: Convert booleans to bitmask
  
          Returns
          -------
          Buffer
docstring_summary: Convert booleans to bitmask
docstring_tokens: Convert booleans to bitmask
function: def as_mask(self) -> Buffer:
          """Convert booleans to bitmask
  
          Returns
          -------
          Buffer
          """
  
          if self.has_nulls():
              raise ValueError("Column must have no nulls.")
  
          return bools_to_mask(self)
function_tokens: def as_mask ( self ) -> Buffer : if self . has_nulls ( ) : raise ValueError ( "Column must have no nulls." ) return bools_to_mask ( self )