Skip to main content

Data preprocessing lib

Project description

snaplib

A simple data preprocessing tools.


user guide

Kaggle Notebook
https://www.kaggle.com/code/artyomkolas/snaplib-user-guide?scriptVersionId=116126023


PyPi

!pip install snaplib

Use cases

from snaplib.snaplib import Snaplib
sl = Snaplib()

missing_info_df = sl.nan_info(df)

sl.nan_plot(df)

df = sl.cleane(df, target_name, verbose=True)

train_X, test_X, train_y, test_y = sl.train_test_split_balanced(df, target_name, test_size=0.2, random_state=0, research_iter=0)

df = sl.recover_data(df, verbose=True, stacking=True)

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

snaplib-0.1.6.tar.gz (12.1 kB view hashes)

Uploaded Source

Built Distribution

snaplib-0.1.6-py3-none-any.whl (12.0 kB view hashes)

Uploaded Python 3

Supported by

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