Backport PR 4461 on branch 1.12.x (fix: avoid dtype overflow in top segment proportions for sparse small ints)
Backport PR 4461 on branch 1.12.x (fix: avoid dtype overflow in top segment proportions for sparse small ints): a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Backport PR 4461 on branch 1.12.x (fix: avoid dtype overflow in top segment proportions for sparse small ints)
The task
**Title:** Backport PR #4461 on branch 1.12.x (fix: avoid dtype overflow in top_segment_proportions for sparse small ints)
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.