code: def __init__(self, bipartite=False, directed=False):
      super(NPartiteGraph, self).__init__(directed=directed)
      self.graph_properties.bipartite = bipartite
      self.graph_properties.multipartite = True
  
imports: import numpy
  from .graph_implementation import simpleGraphImpl, simpleDistributedGraphImpl, npartiteGraphImpl
  import cudf
  import dask_cudf
  from cugraph.utilities.utils import import_optional
label_desc: Use image node_id 1 to create a new NPartiteGraph object from inherited base classes: Graph with example: obj = NPartiteGraph(bipartite, directed)