Skip to main content

description

Project description

:rocket: X-plan :facepunch:


数据不是创造规律,而是展示那些原本的规律 https://www.kaggle.com/c/elo-merchant-category-recommendation/discussion/82055#479196 Competitions


Install

pip install x-plan

Usage

from xplan.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.0.tar.gz (44.2 kB view details)

Uploaded Source

Built Distribution

Yuan-1.0.0-py3-none-any.whl (617.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Yuan-1.0.0.tar.gz
  • Upload date:
  • Size: 44.2 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.0.tar.gz
Algorithm Hash digest
SHA256 07208252957024dabbb44ecf540117da3aca55144efe713fbeff5a3f99196083
MD5 b8d7fb64471c3389a79efca19a656c8c
BLAKE2b-256 19aad720068fc1b2b09171ee147e5fa72f93a8c56fc20f197e3d2515810753df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Yuan-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 617.0 kB
  • 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89d8a544c9985e2ec87da08b00cfa26623c4dec9866e22c7b267a0a67a3a07a5
MD5 53eccbc6928d3fe45483632a3fcac1be
BLAKE2b-256 e6b6ee5e74388e1074f6877c098efca0c3673b4e8557cacd7dd9de916d8b4c66

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