Exploratory data analysis tools
Project description
Installation
To install the package,
pip install edamame
edamame functions work correctly inside a .ipynb file.
import edamame as eda
Exploratory data analysis functions
Dimensions
a prettier version of the .shape method
eda.dimensions(data)
the function displays the number of rows and columns of a pandas dataframe passed
Describe distribution
eda.describe_distribution(data)
passing a dataframe the function display the result of the .describe() method applied to a pandas dataframe, divided by quantitative/numerical and categorical/object columns.
Identify columns types
eda.identify_types(data)
passing a dataframe the function display the result of the .dtypes method and returns a list with the name of the quantitative/numerical columns and a list with the name of the columns identified as "object" by pandas.
Convert numerical columns to categorical
eda.identify_types(data, col: list[str])
passing a dataframe and a list with columns name, the function transforms the types of the columns into "object". This operation can help convert numerical columns we know to be categorical.
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 edamame-0.20.tar.gz
.
File metadata
- Download URL: edamame-0.20.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c16214e01a01371ab4f62644e990edaf83136898e96032959c399d93cd94426 |
|
MD5 | 27fdd7208d869d78c0cd90f24fc3458f |
|
BLAKE2b-256 | 1dca9967200bf5719218f8c994a31a3c27e09d90c51f75e1bf3b639d58dc2030 |
File details
Details for the file edamame-0.20-py3-none-any.whl
.
File metadata
- Download URL: edamame-0.20-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aac36d84e90ead4bfedce1f269ccdb4534a0d80630811b20a278f846a6080de |
|
MD5 | 89763ffa5b34d5018f2d5a1ae3553ed6 |
|
BLAKE2b-256 | b9c5fff7442f91d113c72b358471a57eb1e511f2f077b5e5b7aa78b4858352b9 |