Skip to main content

Grimlock

We all know that when it comes to machine learning, it takes far more time to preprocess your data than it does to actually build a model. Enter, grimlock.

grimlock will fix your missing values, handle data encoding, and feature scaling.

Installation

Provided you already have NumPy, SciPy, Sci-kit Learn and Pandas already installed, the grimlock package is pip-installable:

$ pip install grimlock

Cleaning Missing Data

Mesh of pandas.fillna() and sklearn Imputer

from grimlock import clean_missing
clean_missing(dataframe, column, clean_type='zero')

Parameters

  • dataframe: dataframe variable
  • column: column name (string)
  • clean_type: 'zero' (default), 'mean', 'mode', 'most_frequent' (string)

Convert Categorical

Quick conversion for categorical features (non-ordinal)

from grimlock import convert_categorical
convert_categorical(dataframe, column, target_column)

Parameters

  • dataframe: dataframe variable
  • column: column name (string)
  • target_column: target column name (string)

Feature Scaling

coming soon

Metadata

Release files for grimlock 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grimlock 0.0.1
File Size Uploaded
grimlock-0.0.1.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grimlock 0.0.1
File Interpreter ABI Platform
grimlock-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / grimlock-0.0.1.tar.gz

Download URL grimlock-0.0.1.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
033b8e23f27e1321d61871bfd029b6136c3b70ba4ce5cb39514b9f6f6cda6e1e
BLAKE2b-256 checksum
How to use checksums
3f34f5272217c1255fa4a1879e390b525c5a8ef32c595b93f2d5148e37e0e49e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / grimlock-0.0.1-py3-none-any.whl

Download URL grimlock-0.0.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1609e90e8e7cd5f3c34270640d67fcc122addcc4a7d70bb36e4dfa2dd8a1af9c
BLAKE2b-256 checksum
How to use checksums
faa821a621d2403046b78de2a7c44b13add75ebc81a26d5a23493ae638227e83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page