Gather scalars send along group into an array.
send (float | int)
group (ProcessGroup | None)
ndarray