pdtypes


Namepdtypes JSON
Version 0.2.3 PyPI version JSON
download
home_pagehttps://github.com/pwwang/pdtypes
SummaryShow data types for pandas data frames in terminal and notebooks
upload_time2024-03-04 23:15:10
maintainer
docs_urlNone
authorpwwang
requires_python>=3.8,<4.0
licenseBSD 3-Clause
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # pdtypes

Show data types for pandas data frames in terminal and notebooks by monkey-patching pandas formatters

| Turn this | into |
| --------- | ---- |
| ![terminal_without_pdtypes][1] | ![terminal_with_pdtypes][2] |
| ![terminal_without_pdtypes_gf][3] | ![terminal_with_pdtypes_gf][4] |
| ![notebook_without_pdtypes][5] | ![notebook_with_pdtypes][6] |
| ![notebook_without_pdtypes_gf][7] | ![notebook_with_pdtypes_gf][8] |



## Installation
```shell
pip install -U pdtypes
```

## Usage
```python
# Patching enabled by default
import pdtypes
```

To disable patching (get everything back to what it was)
```python
import pdtypes

# ...
pdtypes.unpatch()

# To patch again
pdtypes.patch()

```


[1]: docs/terminal_without_pdtypes.png
[2]: docs/terminal_with_pdtypes.png
[3]: docs/terminal_without_pdtypes_gf.png
[4]: docs/terminal_with_pdtypes_gf.png
[5]: docs/notebook_without_pdtypes.png
[6]: docs/notebook_with_pdtypes.png
[7]: docs/notebook_without_pdtypes_gf.png
[8]: docs/notebook_with_pdtypes_gf.png

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pwwang/pdtypes",
    "name": "pdtypes",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "pwwang",
    "author_email": "pwwang@pwwang.com",
    "download_url": "https://files.pythonhosted.org/packages/d1/9b/b478de3f8d80368abf9de96b450dfe0d716386e55a998821e57f6aada223/pdtypes-0.2.3.tar.gz",
    "platform": null,
    "description": "# pdtypes\n\nShow data types for pandas data frames in terminal and notebooks by monkey-patching pandas formatters\n\n| Turn this | into |\n| --------- | ---- |\n| ![terminal_without_pdtypes][1] | ![terminal_with_pdtypes][2] |\n| ![terminal_without_pdtypes_gf][3] | ![terminal_with_pdtypes_gf][4] |\n| ![notebook_without_pdtypes][5] | ![notebook_with_pdtypes][6] |\n| ![notebook_without_pdtypes_gf][7] | ![notebook_with_pdtypes_gf][8] |\n\n\n\n## Installation\n```shell\npip install -U pdtypes\n```\n\n## Usage\n```python\n# Patching enabled by default\nimport pdtypes\n```\n\nTo disable patching (get everything back to what it was)\n```python\nimport pdtypes\n\n# ...\npdtypes.unpatch()\n\n# To patch again\npdtypes.patch()\n\n```\n\n\n[1]: docs/terminal_without_pdtypes.png\n[2]: docs/terminal_with_pdtypes.png\n[3]: docs/terminal_without_pdtypes_gf.png\n[4]: docs/terminal_with_pdtypes_gf.png\n[5]: docs/notebook_without_pdtypes.png\n[6]: docs/notebook_with_pdtypes.png\n[7]: docs/notebook_without_pdtypes_gf.png\n[8]: docs/notebook_with_pdtypes_gf.png\n",
    "bugtrack_url": null,
    "license": "BSD 3-Clause",
    "summary": "Show data types for pandas data frames in terminal and notebooks",
    "version": "0.2.3",
    "project_urls": {
        "Homepage": "https://github.com/pwwang/pdtypes",
        "Repository": "https://github.com/pwwang/pdtypes"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "961a1038852725f8ba3bcac3fbcdebe1b285b87524ef9967628309a92067dc89",
                "md5": "b92fdce88300ba6b8a78ce8071c5d65b",
                "sha256": "2c222e148a143014f017974d1afe96902e48a332f63af1d211d727e08165191e"
            },
            "downloads": -1,
            "filename": "pdtypes-0.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b92fdce88300ba6b8a78ce8071c5d65b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 6850,
            "upload_time": "2024-03-04T23:15:09",
            "upload_time_iso_8601": "2024-03-04T23:15:09.011470Z",
            "url": "https://files.pythonhosted.org/packages/96/1a/1038852725f8ba3bcac3fbcdebe1b285b87524ef9967628309a92067dc89/pdtypes-0.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d19bb478de3f8d80368abf9de96b450dfe0d716386e55a998821e57f6aada223",
                "md5": "3f67335c7c06fbc73ee88f9c84036eef",
                "sha256": "894810de7acf4afdc8d6804ffebc9974f856fd210fe3c0df7d3ce7e322ac63ac"
            },
            "downloads": -1,
            "filename": "pdtypes-0.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "3f67335c7c06fbc73ee88f9c84036eef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 5960,
            "upload_time": "2024-03-04T23:15:10",
            "upload_time_iso_8601": "2024-03-04T23:15:10.067211Z",
            "url": "https://files.pythonhosted.org/packages/d1/9b/b478de3f8d80368abf9de96b450dfe0d716386e55a998821e57f6aada223/pdtypes-0.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-04 23:15:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pwwang",
    "github_project": "pdtypes",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "pdtypes"
}
        
Elapsed time: 0.21835s