I am trying to find corresponding keys in two different dictionaries. Each has about 600k entries.
Say for example:
myRDP = { \'Actinobacter\':
You can simply write this code and it will save the common key in a list. common = [i for i in myRDP.keys() if i in myNames.keys()]
common = [i for i in myRDP.keys() if i in myNames.keys()]