=========
Transpose nested dict and list.
Usage
-----
.. code:: python
from pytranspose import transpose
# assume you have time serise data of temperature in variouse city.
#
# a[city][time] -> temperature
#
# now you want to compare temperature in different city at the same time point.
# transpose function meets this requirement.
#
# b = transpose(a, [1, 0])
# b[time][city] -> temperature
# print(a["Tokyo"][2]) -> 28
a = {"Tokyo": [27, 28, 29], "New York": [25, 24, 28]}
# print(b[1]["New York"]) -> 24
b = transpose(a)
License
-------
These codes are licensed under
`CC0 <https://creativecommons.org/publicdomain/zero/1.0/deed>`__.
Metadata
Release files for pytranspose 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytranspose-0.0.2.tar.gz | 2.5 kB | Without provenance | Details for pytranspose-0.0.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytranspose-0.0.2-py3.4.egg | Legacy Egg format | - | - | Details for pytranspose-0.0.2-py3.4.egg |
| pytranspose-0.0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pytranspose-0.0.2-py2.py3-none-any.whl |
Total release size: 9.1 kB
Release files / pytranspose-0.0.2.tar.gz
| Download URL | pytranspose-0.0.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
540c366f57cb518d48fe1e852623aa82163df0c128b4431350bd273fd8b91f5e
|
|
BLAKE2b-256 checksum How to use checksums |
87e835d8687f061da61f721dafe6e7656efec83bc416b94d1b6a28b2141c82e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytranspose-0.0.2-py3.4.egg
| Download URL | pytranspose-0.0.2-py3.4.egg |
|---|---|
| Size | 2.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
cb1a6e4249a326a5facbe9fda0b135a662f6fef6b255d6e1df45cb8e17be9a82
|
|
BLAKE2b-256 checksum How to use checksums |
03074e421d1e72250a783fcc602e2e52896139b1ea59772d3e03df0c8aab9e64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pytranspose-0.0.2-py2.py3-none-any.whl
| Download URL | pytranspose-0.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
253d9ddf23f5068cb6dde6d1b558400a5a4e3eee39522d60526be3935d1d8983
|
|
BLAKE2b-256 checksum How to use checksums |
15289e1f3b292320dceb8a61448528436b09003d82cc7bfb2151e70d027700cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pytranspose 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.