Skip to main content

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.

Metadata

Release files for match-arrays 0.0.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 match-arrays 0.0.1
File Size Uploaded
match_arrays-0.0.1.tar.gz 1.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for match-arrays 0.0.1
File Interpreter ABI Platform
match_arrays-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / match_arrays-0.0.1.tar.gz

Download URL match_arrays-0.0.1.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
09fe352068bb30722109ea80b62c999976ff93c3bd9494af3378c7f3be9951d1
BLAKE2b-256 checksum
How to use checksums
77eae5fa74d63270dd1f5f1cebb98ff61ac4e15841a7b0974f346bf919d95650
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / match_arrays-0.0.1-py3-none-any.whl

Download URL match_arrays-0.0.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba8bebba1a8adda3370ff65065ed7c8dd4cb178fb593e8b132cb5a50deafe4d1
BLAKE2b-256 checksum
How to use checksums
75b66d51b694beabc4a7812935866acace6c90395fa5b388127f9cd3c28c9587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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