:rocket: Yuan :facepunch:
数据不是创造规律,而是展示那些原本的规律
https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82055#479196 Competitions
Install
pip install Yuan
Usage
from yuan.pipe import *
@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 -
xfilter / xmap / xsort / xreduce
iterable | xfilter(lambda x: len(x) > 1) | xmap(str.upper) | xsort | xreduce(lambda x, y: x + '-' + y)
'AM-LIKE-LINUX-PIPE-VERY'
xsummary
iterable | xsummary
counts 7
uniques 7
missing 0
missing_perc 0%
types unique
Name: iterable, dtype: object
- ...
Metadata
Release files for tql-Python 0.0.1560759418
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tql-Python-0.0.1560759418.tar.gz | 70.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tql_Python-0.0.1560759418-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.4 MB
Release files / tql-Python-0.0.1560759418.tar.gz
| Download URL | tql-Python-0.0.1560759418.tar.gz |
|---|---|
| Size | 70.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33dc6ae6969c3dbf7faf3074535de50d01ed346f6b2a5a13b137cbd568f36c5f
|
|
BLAKE2b-256 checksum How to use checksums |
098bbf3c81b4427eb2e502a44c2f7e89dd434730ca48d8aa3896fbc9fd6c9160
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1.post20180923 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
|
Release files / tql_Python-0.0.1560759418-py3-none-any.whl
| Download URL | tql_Python-0.0.1560759418-py3-none-any.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
550ec8a245790cddc9cbab9f02afea6bb88e6fdb853c39315694b20d819a9ee9
|
|
BLAKE2b-256 checksum How to use checksums |
eb8d4bb06ca131f356969b6fffc850a03f7a759e91abaa9e91d08d70634dc630
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1.post20180923 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
|