I have the following loops:
for j in range(0,len(feature_names)): inverseIndexingDict[feature_names[j]] = [] for i in range(0,countDocuments):