dppd


Namedppd JSON
Version 0.27 PyPI version JSON
download
home_pagehttps://github.com/TyberiusPrime/dppd
SummaryA pythonic dplyr clone
upload_time2024-06-12 06:47:36
maintainerNone
docs_urlNone
authorFlorian Finkernagel
requires_python>=3.6
licensemit
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            # dppd

| Build status: | [![Build Status](https://travis-ci.com/TyberiusPrime/dppd.svg?branch=master)](https://travis-ci.com/TyberiusPrime/dppd)|
|---------------|-----------------------------------------------------------------------------|
| Documentation | https://dppd.readthedocs.io/en/latest/

| Code style    | ![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)

Dppd is a python [dplyr](dplyr.tidyverse.org) clone.


It allows you to use code like this


```python
   >>> from plotnine.data import mtcars
   >>> from dppd import dppd
   >>> dp, X = dppd()
   >>> dp(mtcars).mutate(kwh = X.hp * 0.74).groupby('cyl').filter_by(X.kwh.rank() < 2).ungroup().pd
      cyl              name   mpg   disp   hp  drat     wt   qsec  vs  am  gear  carb     kwh
   5     6           Valiant  18.1  225.0  105  2.76  3.460  20.22   1   0     3     1   77.70
   18    4       Honda Civic  30.4   75.7   52  4.93  1.615  18.52   1   1     4     2   38.48
   21    8  Dodge Challenger  15.5  318.0  150  2.76  3.520  16.87   0   0     3     2  111.00
   22    8       AMC Javelin  15.2  304.0  150  3.15  3.435  17.30   0   0     3     2  111.00
```


Briefly, it uses a data-manipulater instance (dp above) together with a proxied 
reference to the latest created DataFrame (the X above) to achive for pandas what dpylr's 
non-standard-evaluation based verbs does for R.


Please see our full documentation at https://dppd.readthedocs.io/en/latest/
for more details and a list of the supported verbs.


Also check out [dppd_plotnine](https://github.com/TyberiusPrime/dppd_plotnine)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TyberiusPrime/dppd",
    "name": "dppd",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Florian Finkernagel",
    "author_email": "finkernagel@imt.uni-marburg.de",
    "download_url": "https://files.pythonhosted.org/packages/67/af/a50a86cb519dfb0ff7c384c875297b60f58bed3519a1937d405d84fcf320/dppd-0.27.tar.gz",
    "platform": "any",
    "description": "# dppd\n\n| Build status: | [![Build Status](https://travis-ci.com/TyberiusPrime/dppd.svg?branch=master)](https://travis-ci.com/TyberiusPrime/dppd)|\n|---------------|-----------------------------------------------------------------------------|\n| Documentation | https://dppd.readthedocs.io/en/latest/\n\n| Code style    | ![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\nDppd is a python [dplyr](dplyr.tidyverse.org) clone.\n\n\nIt allows you to use code like this\n\n\n```python\n   >>> from plotnine.data import mtcars\n   >>> from dppd import dppd\n   >>> dp, X = dppd()\n   >>> dp(mtcars).mutate(kwh = X.hp * 0.74).groupby('cyl').filter_by(X.kwh.rank() < 2).ungroup().pd\n      cyl              name   mpg   disp   hp  drat     wt   qsec  vs  am  gear  carb     kwh\n   5     6           Valiant  18.1  225.0  105  2.76  3.460  20.22   1   0     3     1   77.70\n   18    4       Honda Civic  30.4   75.7   52  4.93  1.615  18.52   1   1     4     2   38.48\n   21    8  Dodge Challenger  15.5  318.0  150  2.76  3.520  16.87   0   0     3     2  111.00\n   22    8       AMC Javelin  15.2  304.0  150  3.15  3.435  17.30   0   0     3     2  111.00\n```\n\n\nBriefly, it uses a data-manipulater instance (dp above) together with a proxied \nreference to the latest created DataFrame (the X above) to achive for pandas what dpylr's \nnon-standard-evaluation based verbs does for R.\n\n\nPlease see our full documentation at https://dppd.readthedocs.io/en/latest/\nfor more details and a list of the supported verbs.\n\n\nAlso check out [dppd_plotnine](https://github.com/TyberiusPrime/dppd_plotnine)\n\n\n",
    "bugtrack_url": null,
    "license": "mit",
    "summary": "A pythonic dplyr clone",
    "version": "0.27",
    "project_urls": {
        "Homepage": "https://github.com/TyberiusPrime/dppd"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "67afa50a86cb519dfb0ff7c384c875297b60f58bed3519a1937d405d84fcf320",
                "md5": "72d78fb22e052a88b64ffe4800c03064",
                "sha256": "c4e0403a90d3a9f3d4e7aa8f40768c98439c50bf0aeb6e261f21a9766a15e4a2"
            },
            "downloads": -1,
            "filename": "dppd-0.27.tar.gz",
            "has_sig": false,
            "md5_digest": "72d78fb22e052a88b64ffe4800c03064",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 18112,
            "upload_time": "2024-06-12T06:47:36",
            "upload_time_iso_8601": "2024-06-12T06:47:36.678425Z",
            "url": "https://files.pythonhosted.org/packages/67/af/a50a86cb519dfb0ff7c384c875297b60f58bed3519a1937d405d84fcf320/dppd-0.27.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-12 06:47:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TyberiusPrime",
    "github_project": "dppd",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "dppd"
}
        
Elapsed time: 0.66117s