I am working with nitro imidazoles and nitro pyrroles, and in one of the steps, I had to replace the N-H with a Methyl group. I followed literature procedures ( DMF, anhy K2CO3, CH3I for the nitroimidazole and aq KOH, CH3I for the nitro pyrrole) and I found nitropyrrole gane the N-methyl product in 1 Hour and the yield was almost 100%, but the nitroimidazole took 24 hrs , and my yield was just 55%( in this case I get 2 isomers).
Does this mean that the nitro pyrrole is more acidic than the nitro pyrrole?