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

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

DataframeProcessing-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file DataframeProcessing-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: DataframeProcessing-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

File hashes

Hashes for DataframeProcessing-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9411aa8198576822044e8e69f120c0ee072ee5325e790b3ab43ca8376498962d
MD5 1bc6d7b57f88d5660cc368a5c6aab00f
BLAKE2b-256 dcf84f481fea52702eb2b65f23797577b93fdb83cec84508e3174a2a268a7d9d

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