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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for DataframeProcessing-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9411aa8198576822044e8e69f120c0ee072ee5325e790b3ab43ca8376498962d |
|
MD5 | 1bc6d7b57f88d5660cc368a5c6aab00f |
|
BLAKE2b-256 | dcf84f481fea52702eb2b65f23797577b93fdb83cec84508e3174a2a268a7d9d |