I have two dictionaries with key-value pairs as follows:
dict-1 ch:23, 100
ch:24, 95
dict-2 Ch:23, 98
ch:25, 100
Not all keys are present in the both dictionaries and each dictionary contains approximately 200,000 key-value pairs. What I want to do is compare or combine these two and produce an output text file such that if the key is in both dictionaries, I get both values, with an output file format like:
ch:23 100 98
ch:24 95 .
Ch:25 . 100
How can I do this?