code: def time_k_core(self, graph):
      _ = nx.k_core(self.graphs_dict[graph])
  
file_path: networkx/benchmarks/benchmarks/benchmark_algorithms.py
imports: import networkx
  from benchmarks.utils import fetch_drug_interaction_network
  from networkx.algorithms import community
label_desc: Use image node_id 7 for calling the AlgorithmBenchmarks obj's underlying member method code with example usage: obj.time_k_core(graph) without return types