Exploratory data analysis tools
Project description
Installation
To install the package,
pip install edamame
the edamame package works correctly inside a .ipynb file.
import edamame as eda
Why Edamame?
Edamame is born under the inspiration of the pandas-profiling and pycaret packages. The scope of edamame is to build friendly and helpful functions for handling the EDA (exploratory data analysis) step in a dataset studied and after that train and analyze a models battery for regression or classification problems.
Exploratory data analysis functions
You can find an example of the EDA that uses the edamame package in the eda_example.ipynb notebook.
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.
Missing data
eda.missing(data)
TODO
- Finishing the documentation
- Add the xgboost model, PCA regression and other methods for studying the goodness of fit of the other models
- Add the classification part to the package
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.21.tar.gz
.
File metadata
- Download URL: edamame-0.21.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ef3498a2c0767123a3db5d433b62e6ab4729e3662beac3c743a06f2dac4506 |
|
MD5 | 2ebf3c8575bfed79e92440ef3df58098 |
|
BLAKE2b-256 | 84b31f3c2dcbb20379d7aec7718e28160217ffcc622436d3f49d4479637e453d |
File details
Details for the file edamame-0.21-py3-none-any.whl
.
File metadata
- Download URL: edamame-0.21-py3-none-any.whl
- Upload date:
- Size: 13.2 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 | b96ab0dcc1ed5798874cf926c740e7bff1a788cc2802bfb2b02f34e84bd87c90 |
|
MD5 | 339492dc71513f8114d9b1818c94bb78 |
|
BLAKE2b-256 | 790aca3d4a0d88959a9b4df33773231abc2903577cf1c8d087b1ee4381e6864c |