class_docstr: This class wraps data into a dict-like object
docstr: Rename fields
  
  :param mapping: a dict in the format {'oldkey1': 'newkey1', ...}
docstr_tok: ["Rename","fields",":","param","mapping",":","a","dict","in","the","format","{","'oldkey1","'",":","'newkey1","'",",","...","}"]
code: def rename(self, mapping):
      """
      Rename fields
  
      :param mapping: a dict in the format {'oldkey1': 'newkey1', ...}
      """
      for old_key, new_key in mapping:
          self.dict[new_key] = self.dict[old_key]
          del self.dict[old_key]
  
imports: from collections import defaultdict
  import csv
  from datetime import datetime
  import json
  from math import radians, cos, sin, asin, sqrt
  import urllib2
  import numpy
label_desc: Use image node_id 6 for calling the DataAccessObject obj's underlying member method code with example usage: obj.rename(mapping) without return types