ismember
ismember
is a Python library that checks whether the elements in X is present in Y.
⭐️ Star this repo if you like it ⭐️
On the documentation pages you can find more information about ismember
with examples.
Install ismember from PyPI
pip install ismember
pip install -U ismember
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
I, idx = ismember([1,2,3,None], [4,1,2])
I, idx = ismember(["1","2","3"], ["4","1","2"])
References
Maintainer
- Erdogan Taskesen, github: erdogant
- Contributions are welcome.
- If you wish to buy me a Coffee for this work, it is very appreciated :)