Matching of Numpy arrays
Project description
Match Arrays
match_arrays
lets you match the values of two NumPy arrays:
a = np.arange(100)
b = np.random.permutation(a)
idx_a, idx_b = match_arrays(a, b)
assert(np.all(a[idx_a] == b[idx_b]))
This allows you to perform a database-like join on NumPy arrays.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
match_arrays-0.0.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for match_arrays-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba8bebba1a8adda3370ff65065ed7c8dd4cb178fb593e8b132cb5a50deafe4d1 |
|
MD5 | 7102351825e05e6f5d1aeba4a4b7b7d8 |
|
BLAKE2b-256 | 75b66d51b694beabc4a7812935866acace6c90395fa5b388127f9cd3c28c9587 |