Some utility functions for working with Pandas.
Project description
cjm-pandas-utils
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
from cjm_pandas_utils.core import markdown_to_pandas
md_table_str = """
| Name | Age | Occupation |
| ---- | --- | ---------- |
| John | 35 | Engineer |
| Jane | 29 | Teacher |
| Bob | 42 | Doctor |
"""
markdown_df = markdown_to_pandas(md_table_str)
markdown_df.iloc[1]
Name Jane
Age 29
Occupation Teacher
Name: 1, dtype: object
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cjm-pandas-utils-0.0.3.tar.gz
.
File metadata
- Download URL: cjm-pandas-utils-0.0.3.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 999399ae0225261f1347850b0b2143411bc3fba2610e36880ac6f7dca2042a32 |
|
MD5 | 24b5d8a75ec20d6527e30754450cfe0c |
|
BLAKE2b-256 | 6e9db1ce015f2b28791a4d90c9da96d351961d53723fbc1a03e6103565a0bafd |
File details
Details for the file cjm_pandas_utils-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: cjm_pandas_utils-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f388d1afc89c069b5eb244596177aa3b862e709aba9c55b4ba03a6faf1419792 |
|
MD5 | 8dc74abe9be241f944789c9e9c6ff001 |
|
BLAKE2b-256 | baca028bd2bc67af957f47db36b960648d1db6731c2c6fdeda40a3095c97ce87 |