Skip to main content

ismember

Python PyPI Version GitHub Repo stars License Downloads Downloads Sphinx

ismember is a Python library that checks whether the elements in X is present in Y.

⭐️ Star this repo if you like it ⭐️

Documentation pages

On the documentation pages you can find more information about ismember with examples.

Install ismember from PyPI
pip install ismember     # normal install
pip install -U ismember  # update if needed

Import ismember package

from ismember import ismember

Quick example

Use the documentation pages for more detailed usage. Some of the most used functionalities are linked below.

from ismember import ismember

# Example with lists
I, idx = ismember([1,2,3,None], [4,1,2])
I, idx = ismember(["1","2","3"], ["4","1","2"])

Example: Check whether the elements of X are present in Y

Example: Determine the corresponding location of the values that are present in Y array

Example: Row wise comparison

Example: Elementwise comparison


☕ Support

If you find this project useful, consider supporting me:

Metadata

Release files for ismember 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ismember 1.2.1
File Size Uploaded Provenance Actions
ismember-1.2.1.tar.gz 6.7 kB Without provenance Details for ismember-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ismember 1.2.1
File Interpreter ABI Platform Actions
ismember-1.2.1-py3-none-any.whl Python 3 none any Details for ismember-1.2.1-py3-none-any.whl

Total release size: 14.2 kB

Release files / ismember-1.2.1.tar.gz

Download URL ismember-1.2.1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e99bc87d6b1b92a4d75809e48e8206a6b17af223331506597071da82098b1b4e
BLAKE2b-256 checksum
How to use checksums
cc783c77269f103dd39d293d10fcb7afa68b6ef5ad1886dd278b5dc9a876c313
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / ismember-1.2.1-py3-none-any.whl

Download URL ismember-1.2.1-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45c8399bf36c99933706507a60b7ee29ed2b6919c03b63504ebd90000b032aa4
BLAKE2b-256 checksum
How to use checksums
cca698bcb6427fa4eebeee0b55f26a0eb558240f6f91d8e80bf57a118918ef5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for ismember 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page