cjm-pandas-utils


Namecjm-pandas-utils JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/cj-mills/cjm-pandas-utils
SummarySome utility functions for working with Pandas.
upload_time2023-06-22 23:50:44
maintainer
docs_urlNone
authorcj-mills
requires_python>=3.7
licenseApache Software License 2.0
keywords nbdev jupyter notebook python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cjm-pandas-utils

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

This file will become your README and also the index of your
documentation.

## Install

``` sh
pip install cjm_pandas_utils
```

## How to use

### markdown_to_pandas

``` python
from cjm_pandas_utils.core import markdown_to_pandas
```

``` python
md_table_str = """
| Name | Age | Occupation |
| ---- | --- | ---------- |
| John | 35  | Engineer    |
| Jane | 29  | Teacher     |
| Bob  | 42  | Doctor      |
"""
```

``` python
markdown_df = markdown_to_pandas(md_table_str)
markdown_df.iloc[1]
```

    Name             Jane
    Age                29
    Occupation    Teacher
    Name: 1, dtype: object

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/cj-mills/cjm-pandas-utils",
    "name": "cjm-pandas-utils",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "nbdev jupyter notebook python",
    "author": "cj-mills",
    "author_email": "millscj.mills2@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6e/9d/b1ce015f2b28791a4d90c9da96d351961d53723fbc1a03e6103565a0bafd/cjm-pandas-utils-0.0.3.tar.gz",
    "platform": null,
    "description": "# cjm-pandas-utils\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\nThis file will become your README and also the index of your\ndocumentation.\n\n## Install\n\n``` sh\npip install cjm_pandas_utils\n```\n\n## How to use\n\n### markdown_to_pandas\n\n``` python\nfrom cjm_pandas_utils.core import markdown_to_pandas\n```\n\n``` python\nmd_table_str = \"\"\"\n| Name | Age | Occupation |\n| ---- | --- | ---------- |\n| John | 35  | Engineer    |\n| Jane | 29  | Teacher     |\n| Bob  | 42  | Doctor      |\n\"\"\"\n```\n\n``` python\nmarkdown_df = markdown_to_pandas(md_table_str)\nmarkdown_df.iloc[1]\n```\n\n    Name             Jane\n    Age                29\n    Occupation    Teacher\n    Name: 1, dtype: object\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "Some utility functions for working with Pandas.",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/cj-mills/cjm-pandas-utils"
    },
    "split_keywords": [
        "nbdev",
        "jupyter",
        "notebook",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "baca028bd2bc67af957f47db36b960648d1db6731c2c6fdeda40a3095c97ce87",
                "md5": "8dc74abe9be241f944789c9e9c6ff001",
                "sha256": "f388d1afc89c069b5eb244596177aa3b862e709aba9c55b4ba03a6faf1419792"
            },
            "downloads": -1,
            "filename": "cjm_pandas_utils-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8dc74abe9be241f944789c9e9c6ff001",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4490,
            "upload_time": "2023-06-22T23:50:43",
            "upload_time_iso_8601": "2023-06-22T23:50:43.225120Z",
            "url": "https://files.pythonhosted.org/packages/ba/ca/028bd2bc67af957f47db36b960648d1db6731c2c6fdeda40a3095c97ce87/cjm_pandas_utils-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e9db1ce015f2b28791a4d90c9da96d351961d53723fbc1a03e6103565a0bafd",
                "md5": "24b5d8a75ec20d6527e30754450cfe0c",
                "sha256": "999399ae0225261f1347850b0b2143411bc3fba2610e36880ac6f7dca2042a32"
            },
            "downloads": -1,
            "filename": "cjm-pandas-utils-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "24b5d8a75ec20d6527e30754450cfe0c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4917,
            "upload_time": "2023-06-22T23:50:44",
            "upload_time_iso_8601": "2023-06-22T23:50:44.607624Z",
            "url": "https://files.pythonhosted.org/packages/6e/9d/b1ce015f2b28791a4d90c9da96d351961d53723fbc1a03e6103565a0bafd/cjm-pandas-utils-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-22 23:50:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cj-mills",
    "github_project": "cjm-pandas-utils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cjm-pandas-utils"
}
        
Elapsed time: 1.24971s