description
Project description
:rocket: TQL :facepunch:
太强了:数据不是创造规律,而是展示那些原本的规律
Install
pip install tql
Usage
from tql.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-0.0.1560998220.tar.gz
(70.3 kB
view hashes)
Built Distribution
Close
Hashes for tql-0.0.1560998220-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83f2c73e12590c64c884b943db7af692b263c00de187346bd0c5d789f5c88ef1 |
|
MD5 | 836f6562a53e8dd6e2700d50a8788525 |
|
BLAKE2b-256 | ecbe1e1f9c74f879b253226deeabc9a372eb70a0400184065aafca7e513b6e3f |