

def get_titles_pos(self):
    "\n        Return a dictionary where the keys are articles' titles and the values are their offset in the data array.\n        "
    return dict(((el, i) for (i, el) in enumerate(self.f['title'].value)))

dataset/ETHPy150Open nyu-dl/WebNav/wiki.py Wiki.get_titles_pos/original