code: def issues2dict(issues):
      """Convert a list of issues to a dict, keyed by issue number."""
      idict = {}
      for i in issues:
          idict[i["number"]] = i
      return idict
  
file_path: dipy/tools/github_stats.py
imports: import json
  import re
  import sys
  from datetime import datetime, timedelta
  from subprocess import check_output
  from urllib.request import urlopen
label_desc: Use image node_id 5 for calling a global function with example usage: issues2dict(issues) and returns: idict