ninjalib is a data science library
Project description
ninjalib is a data science library
import ninjalib
center = ninjalib.ninjalib(data).center()
flatten = ninjalib.ninjalib(data,nth=0).flatten()
gravity = ninjalib.ninjalib(grams,meters).gravity()
mean = ninjalib.ninjalib(data).mean()
project = ninjalib.ninjalib(focal_length,x,y,z).project()
NOTES:
center expects a 2D list/tuple of 2D OR 3D vertices. It will also accept a 1D list/tuple of floats and/or ints. Returns the center of the line, 2D, or 3D shape.
flatten: list or tuple expected; flatten nth times. returns a flattened array. If nth is left blank, it will flatten to a 1D list.
gravity: expects int or float. Returns the gravitational pull of an object with mass in grams and diameter in meters.
mean = list or tuple expected. Returns the mean of a tuple or list.
project = expects floats and/or ints. Returns the projected 3D coordinates on a 2D plane.
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
ninjalib-0.0.29.tar.gz
(14.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ninjalib-0.0.29-py3-none-any.whl
(14.5 kB
view details)
File details
Details for the file ninjalib-0.0.29.tar.gz.
File metadata
- Download URL: ninjalib-0.0.29.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e4b290c7b315fccfae836aff1915903b4de652c1a6440a3c49aea574ff1a7d9
|
|
| MD5 |
be5dda63a136e79b4a773fbc1f711485
|
|
| BLAKE2b-256 |
92293ac043a51f401015627055e602e62395d0dd06ed5d21de1cd8cb2b5fa4a8
|
File details
Details for the file ninjalib-0.0.29-py3-none-any.whl.
File metadata
- Download URL: ninjalib-0.0.29-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57b0dfee3abeea3ddf881f6fadf5915b5936efa8a42b43f4c7399915612230a7
|
|
| MD5 |
dfc48652c38bdf1829a2f310f6d3d0a5
|
|
| BLAKE2b-256 |
01deecda3cfe6dfc94ae8182dae7e9f8792e78f44e7ab921db4aaeae6e41bc9c
|