Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setup(self):
self.to_write = pygeos.polygons(np.random.random((10000, 100, 2)))
self.to_read_wkt = pygeos.to_wkt(self.to_write)
self.to_read_wkb = pygeos.to_wkb(self.to_write)
def setup(self):
self.points = pygeos.points(np.random.random((100000, 2)))
self.polygon = pygeos.polygons(np.random.random((3, 2)))