from cjm_pandas_utils.core import markdown_to_pandas
cjm-pandas-utils
Some utility functions for working with Pandas.
This file will become your README and also the index of your documentation.
Install
pip install cjm_pandas_utils
How to use
markdown_to_pandas
= """
md_table_str | Name | Age | Occupation |
| ---- | --- | ---------- |
| John | 35 | Engineer |
| Jane | 29 | Teacher |
| Bob | 42 | Doctor |
"""
= markdown_to_pandas(md_table_str)
markdown_df 1] markdown_df.iloc[
Name Jane
Age 29
Occupation Teacher
Name: 1, dtype: object