Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cj-mills/cjm-pandas-utils
Some utility functions for working with Pandas.
https://github.com/cj-mills/cjm-pandas-utils
Last synced: 3 days ago
JSON representation
Some utility functions for working with Pandas.
- Host: GitHub
- URL: https://github.com/cj-mills/cjm-pandas-utils
- Owner: cj-mills
- License: mit
- Created: 2023-02-05T22:07:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-22T23:50:22.000Z (over 1 year ago)
- Last Synced: 2024-04-25T10:21:36.780Z (7 months ago)
- Language: Jupyter Notebook
- Homepage: https://cj-mills.github.io/cjm-pandas-utils/
- Size: 328 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cjm-pandas-utils
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