Some cool tools to automate tasks in Tabular Data Analysis
Project description
Author: Muhammad Saad Mail: sd.behance@gmail.com
So this contains stuff that you need to know to use this function.
First of all this is an imputer which uses a machine learning algorithm in order to impute the missing values.So it obviously works a lot better than your traditional .fillna or SimpleImputer.
We must warn the reader that if a data column has more than 50% of its data missing, you should just remove it ,unless you can figure out any other way to use it. Because it will seriously hamper the performance of whatever model you are training. Regardless its your model, who I am to talk.
MegaImputer:
For importing:
from Magmar import MegaImputer
There are two parameters for this function: “df” and “target_col”. In the target_col parameter put the name of the target column of your dataframe (if you intend to keep it inact), otherwise keep it none.
Imputing a typical pandas DataFrame named “df” would look like
df_imputed = MegaImputer(df, training_col = “Target”)
Now enjoy :”), I wish to include some more tools in it in the future.
If you find any bugs or want to ask questions drop me a mail.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magmar-0.3.0.tar.gz.
File metadata
- Download URL: magmar-0.3.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2034170b57a19799d46f142fa19f0e971905db4fa8f2f1ce67e2252703d31a50
|
|
| MD5 |
388218a969bc15a0a4540880775370e0
|
|
| BLAKE2b-256 |
2be6ad02cb6e00d0a5b4862e1a04dfb5cf3f5534d13d7e3440f807cfa98a739b
|
File details
Details for the file magmar-0.3.0-py3-none-any.whl.
File metadata
- Download URL: magmar-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c238adb5f52153eba9f45dac3469d7c5c8402f608ad15a748179892eece335a
|
|
| MD5 |
f6b0c96e029ecdaaec19545ffbbab8db
|
|
| BLAKE2b-256 |
383979ccc190ca31a70d7e9d6c468769a78644dbb3808a56f404c37732ec6b06
|