scanpy icon indicating copy to clipboard operation
scanpy copied to clipboard

Update numpy array comparisons to use isin

Open emmanuel-ferdman opened this issue 7 months ago • 2 comments

PR Summary

This small PR resolves the NumPy deprecation warnings of np.in1d which you can find in the CI logs:

/home/runner/work/scanpy/scanpy/tests/test_ingest.py:87: DeprecationWarning: `in1d` is deprecated. Use `np.isin` instead.

emmanuel-ferdman avatar Jun 13 '25 15:06 emmanuel-ferdman

Thanks! Can you run

hatch run towncrier:create 3685.bugfix.md

then write a short description that ends with {smaller}`E Ferdman` , and push the file?

flying-sheep avatar Jun 17 '25 15:06 flying-sheep

Phil is currently on holidays but I think this PR looks good to me. Thank you! We'd be happy to see more contributions of yours no matter how big or small.

Zethson avatar Jun 30 '25 15:06 Zethson