(self)
return ai
Provide the Numpy array protocol.
Provide the Numpy array protocol.
Provide the Numpy array protocol .
def array_interface(self):
        """Provide the Numpy array protocol."""
        ai = self.array_interface_base
        ai.update({'shape': (len(self.geoms), self._ndim)})
        return ai
def array_interface ( self ) : ai = self . array_interface_base ai . update ( { 'shape' : ( len ( self . geoms ) , self . _ndim ) } ) return ai