Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magmar-0.3.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

magmar-0.3.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

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

Hashes for magmar-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2034170b57a19799d46f142fa19f0e971905db4fa8f2f1ce67e2252703d31a50
MD5 388218a969bc15a0a4540880775370e0
BLAKE2b-256 2be6ad02cb6e00d0a5b4862e1a04dfb5cf3f5534d13d7e3440f807cfa98a739b

See more details on using hashes here.

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

Hashes for magmar-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c238adb5f52153eba9f45dac3469d7c5c8402f608ad15a748179892eece335a
MD5 f6b0c96e029ecdaaec19545ffbbab8db
BLAKE2b-256 383979ccc190ca31a70d7e9d6c468769a78644dbb3808a56f404c37732ec6b06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page