dimpy-0.0.2
توضیحات
A package for creating N-dimensional list array
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dimpy-0.0.2 |
| نام | dimpy |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Dwaipayan Deb |
| ایمیل نویسنده | dwaipayandeb@yahoo.co.in |
| آدرس صفحه اصلی | https://github.com/dwaipayandeb/dimpy |
| آدرس اینترنتی | https://pypi.org/project/dimpy/ |
| مجوز | - |
# dimpy package for python for creating N-dimensional list array in a user friendly manner
Install command:
---------------
`pip install dimpy`
Use example:
------------
```
import dimpy as dp # Import package as an object dp
testarray=dp.dim(5,7,9) # This will create a 3 dimensional array consisting of 5x7x9 elements. You may give any number of inputs separated by comma.
testarray[2][3][5]= 'Hello' # Let us replace (or do anything else) just one element. All other values will be 0 by default.
print(testarray)
dp.dfv(testarray,'x') # We can change the default value by anything (e.g. 'x' here)
print(testarray)
# Below steps are optional
testarray=dp.npary(testarray) # This will change the type of the array from 'list' to 'numpy.ndarray'
testarray[1,4,3]=5 # Now work with elements in numpy style
print(testarray)
```
For details please follow the link https://www.respt.in/p/python-package-dimpy.html
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl dimpy-0.0.2:
pip install dimpy-0.0.2.whl
نصب پکیج tar.gz dimpy-0.0.2:
pip install dimpy-0.0.2.tar.gz