You asked
How does the sigma 24mm f 1 4 compare with the 20mm on a lumix s9?
The guide's pages for the Sigma 24mm f/1.4 aren't available to me, so I can't give its specifications or a price. The Lumix S9 page lists both the Sigma 24mm f/1.4 DG DN Art and the Panasonic Lumix S 20mm f/2.5 as lenses that fit the camera, so both work on its full-frame sensor.
The difference is mainly in what each lens is for. The 20mm is a small, light wide prime, made to match the body. At f/2.5 it's compact and suits travel and walking-around use, and the guide's vlogging advice favours a wide view of this kind for shooting at arm's length. The Sigma's f/1.4 lets in far more light, which matters for dim rooms, evening street scenes and moving subjects. Its wider aperture also gives a shallower background. Its 24mm view is narrower than the 20mm, so it frames less of the scene in a room or landscape, and a lens with a larger maximum aperture is usually bigger and heavier.
If you shoot mostly in good light and want something to carry all day, the 20mm fits the S9's travel purpose. If low light or subject blur is your main problem, the Sigma is the stronger choice. For people, the guide's portrait lens advice points to longer focal lengths than either of these.
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}.