Skip to main content

Handles NaN and Standardizes all values in a Dataframe

Project description

DataframeProcessing

Handles NaN and Standardizes all values in a Dataframe

Installation

Run below command to install whole package

pip install DataframeProcessing

Prerequisite

pandas,numpy,sklearn must be installed

To install run below commands

pip install pandas
pip install numpy
pip install sklearn

Import

from DataframeProcessing import Alter

Instance

variable=Alter()

fill_na

varriable.fill_na(dataframe, central_tendency='mean')
fill_na method replaces all the NaN values in a Dataframe

    Parameters:

    ->dataframe: pd.Dataframe
    ->central_tendency(optional): mean/median/mode

standard_scaling

varriable.standard_scaling(dataframe)

    standard_scaling method standardize all the values by removing the mean and scaling to unit variance

    Parameters:

    ->dataframe: pandas.Dataframe/numpy.ndarray

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

DataframeProcessing-0.0.1-py3-none-any.whl (3.4 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