libpysal.weights.build_lattice_shapefile¶ libpysal.weights.build_lattice_shapefile(nrows, ncols, outFileName)[source]¶ Build a lattice shapefile with nrows rows and ncols cols. Parameters:¶ nrows : int¶Number of rows ncols : int¶Number of cols outFileName : str¶shapefile name with shp suffix Return type:¶ None