Skip to main content

This Python package extends the functionality of numpy by introducing additional methods for data manipulation, and a specialized format for reading and writing numpy arrays.

Project description

Numpy Extension

This Python package extends the functionality of numpy by introducing additional methods for data manipulation, and a specialized format for reading and writing numpy arrays.

Features

  • Read NDArray in Need with Keys: Using a key to load the required array without load all.
  • Array Mapping and Transformation Functions: Functions to apply operations across arrays, adjust their ranges, and produce linearly spaced values with specific properties.

Installation

pip install numpy_ext

Usage

Transformation Functions

  • apply_from_axis: Apply a function to slices of an array along a specified axis.
  • map_range: Transform elements in an array to a specified range.
  • map_ranges: Transform elements in an array to multiple specified ranges based on conditions.
  • linspace_at: Generate linearly spaced numbers for given indices.
  • linspace_cumprod_at: Generate a cumulative product series for linearly spaced values at specific indices.

Save and Load Utilities

  • savek: Save multiple numpy arrays to a custom binary format .npk.
  • loadk: Load arrays from a .npk file and read in need for easy access.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

numpy_extension-0.0.1.2.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

numpy_extension-0.0.1.2.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file numpy_extension-0.0.1.2.1.tar.gz.

File metadata

  • Download URL: numpy_extension-0.0.1.2.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.0

File hashes

Hashes for numpy_extension-0.0.1.2.1.tar.gz
Algorithm Hash digest
SHA256 1cb5ef8c8cab76d07d37d5ee4f4ffb53abbcace0da61639661292ae16f1fe76a
MD5 847181895d900c551b39a9fb8c757de6
BLAKE2b-256 342da9a3e83db0d5e546cdc3496e0146663a19796c7ff75de507f98959efe8ba

See more details on using hashes here.

File details

Details for the file numpy_extension-0.0.1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for numpy_extension-0.0.1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2070b4285f7f412cf5f349a7d86f7e0df9e8c394ff2ed9400cc5c198fa7c2cc2
MD5 55a364c53139dd843affdc9e2bac102a
BLAKE2b-256 041880bd6c5283a6e96e9023feb59af26f4d139dc04cfd29a754ba27a3e34a6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page