description
Project description
: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
- ...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tql-Python-0.0.1560759418.tar.gz
(70.2 kB
view details)
Built Distribution
File details
Details for the file tql-Python-0.0.1560759418.tar.gz
.
File metadata
- Download URL: tql-Python-0.0.1560759418.tar.gz
- Upload date:
- Size: 70.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33dc6ae6969c3dbf7faf3074535de50d01ed346f6b2a5a13b137cbd568f36c5f |
|
MD5 | 09d310ca16d74985cb127ad0100bda6a |
|
BLAKE2b-256 | 098bbf3c81b4427eb2e502a44c2f7e89dd434730ca48d8aa3896fbc9fd6c9160 |
File details
Details for the file tql_Python-0.0.1560759418-py3-none-any.whl
.
File metadata
- Download URL: tql_Python-0.0.1560759418-py3-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 550ec8a245790cddc9cbab9f02afea6bb88e6fdb853c39315694b20d819a9ee9 |
|
MD5 | fe4864f63dee9174f19e11a449a298be |
|
BLAKE2b-256 | eb8d4bb06ca131f356969b6fffc850a03f7a759e91abaa9e91d08d70634dc630 |