Skip to main content

: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
  • ...

Release files for iWork 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iWork 0.0.3
File Size Uploaded
iWork-0.0.3.tar.gz 68.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iWork 0.0.3
File Interpreter ABI Platform
iWork-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 2.5 MB

Release files / iWork-0.0.3.tar.gz

Download URL iWork-0.0.3.tar.gz
Size 68.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4677ce374362b41f26c659e87a709d08cc62dc2b14d9b4e89bf2259cc915e2a1
BLAKE2b-256 checksum
How to use checksums
514dc07d6fbf343d4862b72055f041d22793fdd6c833e306fc4927a937703742
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1.post20180923 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.7

Release files / iWork-0.0.3-py3-none-any.whl

Download URL iWork-0.0.3-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
456a4f31ca7a22e4a948459e58ae7859ff09c527f99267c38cab18a4c4e54785
BLAKE2b-256 checksum
How to use checksums
b597f7fae71790d0bc203ec7138f31d6883014c2265530b17440c3cdbbfa494e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1.post20180923 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page