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

Uploaded Source

Built Distribution

numpy_extension-0.0.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: numpy_extension-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8f6c15178234f4918e54876b426a1f1cf6accd38ba728a4e5248a4c290f2d2b4
MD5 9ac828adb99f5c2d93b8935baf1ea5b8
BLAKE2b-256 daccb0260ccb1340ccbcd1cc20b6787630badbb243f1a531ad2952ac6b22f13d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for numpy_extension-0.0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0180688039fd0f7436e3428f6981bc8f535288c14f1e1518b7ffa060d1d7829b
MD5 546f96782af0cc417fe4789c7dd4540c
BLAKE2b-256 3de6ba4758c6278f28b284e1708f9ee4e07ab068d356eb9f83e452d0d84c66ca

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