scanpy
scanpy copied to clipboard
Update numpy array comparisons to use isin
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.
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?
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.