### A module for visualization of a nested python data structure
***
a nested python objects including list, tuple, dictionary, tensor, ndarray to data-tree, and make a quick peek out of its structure
```
data = a list of 10 lists of 3 dicts of 2 keys : list of 2 strings
dv.viz(data)
$ list of 10
$ └── list of 3
$ └── dict of 2
$ ├── train : ['data1', 'data2']
$ └── test : ['data3', 'data4']
```
### How to use
***
#### install
```
$ pip install dstree
```
#### import and quick_start
```python
import dstree as dst
data = dst.get_example_data()
tree = dst.viz(data)
```
#### usage in detail
```python
import dstree as dst
dst.quick_start() # Copy & Paste console output to implement tutorial codes
```
### Note
this package is built based on treelib & graphviz syntax
supports int, str, float, list, tuple, dict, Tensor, ndarray, Series, DataFrame datatype
custom Dataset class will be supported in soon
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共14个文件
py:4个
txt:4个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:dstree-1.6.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
dstree-1.6.tar.gz (14个子文件)
dstree-1.6
MANIFEST.in 42B
PKG-INFO 2KB
dstree
front.py 2KB
__init__.py 20B
backend.py 14KB
woz_train_en.json 3.65MB
setup.cfg 42B
setup.py 790B
dstree.egg-info
PKG-INFO 2KB
requires.txt 36B
SOURCES.txt 257B
top_level.txt 7B
dependency_links.txt 1B
README.md 1007B
共 14 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功