docs: improve doctests for ndarray instances in ndarray/with
#60937
do_not_merge.yml
on: pull_request
Check for Do Not Merge label
ndarray/with
#60937