Metadata-Version: 2.1
Name: Yuan
Version: 1.0.4
Summary: description
Home-page: https://github.com/Jie-Yuan/Yuan
Author: JieYuan
Author-email: 313303303@qq.com
Maintainer: JieYuan
Maintainer-email: 313303303@qq.com
License: MIT
Keywords: tool wheel,yuanjie,utils,轮子
Platform: all
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: sanic
Requires-Dist: tqdm
Requires-Dist: wrapt
Requires-Dist: jieba
Requires-Dist: keras
Requires-Dist: lightgbm
Requires-Dist: catboost
Requires-Dist: rgf-python
Requires-Dist: bayesian-optimization
Requires-Dist: statsmodels
Requires-Dist: tables
Requires-Dist: eli5
Requires-Dist: shap
Requires-Dist: seaborn
Requires-Dist: jovian

<h1 align = "center">:rocket: Yuan :facepunch:</h1>

---
> 数据不是创造规律,而是展示那些原本的规律

https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82055#479196
[Competitions][1]

---
## Install
```
pip install Yuan
```
## Usage
#### `from yuan.pipe import *`
```python
@X
def xfunc1(x):
    _ = x.split()
    print(_)
    return _
@X
def xfunc2(x):
    _ = '>>'.join(x)
    print(_)
    return _

'I am very like a linux pipe' | xfunc1 | xfunc2
```
- `xtqdm`

    ![tqdm](pic/tqdm.png)

- `xfilter / xmap / xsort / xreduce`
```python
iterable | xfilter(lambda x: len(x) > 1) | xmap(str.upper) | xsort | xreduce(lambda x, y: x + '-' + y)

'AM-LIKE-LINUX-PIPE-VERY'
```

- `xsummary`
```python
iterable | xsummary

counts               7
uniques              7
missing              0
missing_perc        0%
types           unique
Name: iterable, dtype: object
```
- ...

---
[1]: https://iphysresearch.github.io/DataSciComp/?sub=PF,IT,AC,DM,CV,NLP,RL,SP


