class_docstr: Estimator base class with constructor and public methods.
class_docstr_tok: ["Estimator","base","class","with","constructor","and","public","methods","."]
docstr: Checking the consecutive numeric indexing.
docstr_tok: ["Checking","the","consecutive","numeric","indexing","."]
code: def _check_indexing(graph: nx.classes.graph.Graph):
      """Checking the consecutive numeric indexing."""
      numeric_indices = [
          index for index in range(graph.number_of_nodes())
      ]
      node_indices = sorted([node for node in graph.nodes()])
  
      assert (
          numeric_indices == node_indices
      ), "The node indexing is wrong."
  
file_path: karateclub/karateclub/estimator.py
imports: import random
  import numpy
  import networkx
  import warnings
  from typing import List
  from tqdm.auto import trange
  import re
label_desc: Use image node_id 9 for calling the Estimator obj's underlying member method code with example usage: obj._check_indexing(graph) without return types