You asked
Is the sigma 24mm f 1 4 dg dn art good for astrophotography?
The site doesn't cover astrophotography, so the guide can't say whether the Sigma 24mm f/1.4 DG DN Art is good for it. The lens page gives its specs: a 24mm focal length, a fast f/1.4 maximum aperture, autofocus, full frame use, and no stabilisation. It mounts on Sony E and L-Mount bodies only.
The guide's general rule for dim light is that a fast lens and a larger sensor matter more than stabilisation, which steadies the camera rather than the subject. On that reasoning, this lens has the two things that count most in dark scenes: a wide aperture and full frame. Its 24mm field is a reasonable width for wide night scenes, but how it performs on stars specifically is outside what this site covers.
If you want to use it, pair it with a full frame body in one of its mounts. The lens page lists the Sony a7 III and the Panasonic Lumix S5 among the full frame bodies it fits. The guide's Lenses page explains how a fast standard prime fits into a first kit, if you're weighing it against other lenses.
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}.