'entitiesUri' by the second column in 'entities' and the index of the link in tmpentitiesUri = sorted(entitiesUri, key = lambda k: int(entities[2][tmp.index(k)]))
而不是sort(),但是结果是相同的到目前为止,唯一对我起作用的是Pandas的sort_values()函数
[index])
"""Sort given items by splitting list into= sorted(items1) # Create a copy of list in sorted order
sort(items1) # Call mutative sortitems1) # Create a