You asked
Panasonic lumix g 20mm f 1 7 ii vs yongnuo yn25mm f 1 7m?
The Panasonic Lumix G 20mm f/1.7 II and the Yongnuo YN25mm f/1.7M are both autofocus primes for Micro Four Thirds, both f/1.7, and neither is stabilised. They fit the same bodies, so the choice comes down to field of view. The sensor sizes guide explains Micro Four Thirds' 2x crop factor, which is why these lenses frame so differently from their numbers.
The Panasonic frames like a 40mm on full frame. It's the wider of the two, so it suits travel, street, and scenes where you want to show the surroundings. The Yongnuo frames like a 50mm on full frame, a natural, slightly tighter view that works well for everyday shots and people. The portraits guide rates a 50mm-equivalent view as the classic everyday lens.
Both have the same f/1.7 aperture and show about the depth of field of f/3.4 on this sensor. In dim light they perform the same, so the aperture doesn't separate them. Because neither is stabilised, a steadier hand or a faster shutter will matter more than the lens choice. The focal length converter shows how the crop factor affects background blur.
The guide doesn't give prices for either lens here, so check the catalogue pages for current figures. Pick the Panasonic if you want more of the scene, and the Yongnuo if you mostly shoot people or want a tighter, more everyday view. Both work on bodies such as the OM System OM-5 Mark II, the Olympus OM-D E-M10 Mark IV, and the Panasonic Lumix G100.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.