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.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

numpy_extension-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: numpy_extension-0.0.1.tar.gz
  • Upload date:
  • Size: 6.5 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.tar.gz
Algorithm Hash digest
SHA256 3c3e041bc6ea35de664c655bc6fa0487638b263d5c5425285e9bd958a9f35148
MD5 2a63eef9b6d42bfcf5cb6cf843de3a1e
BLAKE2b-256 36758c8ab1f9b470e92cb6e830b005e88daa1e2d0b99e752c5b77d6e10484876

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_extension-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0379f3518d5bb479f85adff85beabde5e22d024a971f2d0f15c234983c311734
MD5 b6e627b194a06282b931644e57b8ddc3
BLAKE2b-256 233ab7756c3f368d847458d8d2d5b942d0532edd9f58c9243e9ceaa2eac6f61c

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