Skip to main content

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

    tqdm

  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Yuan-1.0.8.tar.gz (54.3 kB view details)

Uploaded Source

Built Distribution

Yuan-1.0.8-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file Yuan-1.0.8.tar.gz.

File metadata

  • Download URL: Yuan-1.0.8.tar.gz
  • Upload date:
  • Size: 54.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for Yuan-1.0.8.tar.gz
Algorithm Hash digest
SHA256 78c0bb1abfb6593f4c65f157131d4eead43c874b1f8f6ea5d66da004f2e492b7
MD5 b462904a1b17572d54614a873332abfd
BLAKE2b-256 39af6ef95535c5c9e8d4c83ec00d185cfacc30a0319c8c158615eadcd1152ed6

See more details on using hashes here.

File details

Details for the file Yuan-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: Yuan-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for Yuan-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8d8522bd0210cb21abfd4f703dc44a4e052a8ea434d1d0387bb05870269c9d0f
MD5 86c9e2af234a0a56375f736d3c1f6c4e
BLAKE2b-256 891a415b15aa3309107e800f71e40ff4bb21d4fb4ae3f857c30eff7c3df52242

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page