The missing reshape for Python
Project description
reshape
The missing Numpy’s reshape for Python.
Free software: MIT license
Documentation: https://reshape.readthedocs.io.
Features
>>> import reshape >>> for row in reshape.reshape(range(20), 3): ... print(row) ... (0, 7, 14) (1, 8, 15) (2, 9, 16) (3, 10, 17) (4, 11, 18) (5, 12, 19) (6, 13, None) >>> >>> for row in reshape.reshape("HVNfromPymiVN"): ... print(row) ... ('H', 'o', 'i') ('V', 'm', 'V') ('N', 'P', 'N') ('f', 'y', None) ('r', 'm', None)
TODO
Use mypy
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2017-12-01)
First release on PyPI.
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
reshape-0.2.0.tar.gz
(12.2 kB
view hashes)
Built Distribution
Close
Hashes for reshape-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03758f6c0b68d18bff5c22ff2d4e69cdfca0c815cf2732b88c95f6d44845731d |
|
MD5 | a5ed0c5e314775f6cafc87c2dcc4d3a6 |
|
BLAKE2b-256 | b29c8a6a2de9970ff96b28f08bfedefa437c11e3d95262d5caaf144a3a94288c |