Skip to main content

This Python package consist of various statistical modules and function that can be very useful for data preprocessing,data transformation,EDA and seamlessly improves the performance of Ml-Pipeline

Project description

StatsFLow Library

forthebadge made-with-python
Python 3.9

Functionality of the StatsFLow

  • This Python package consist of various statistical modules and function that can be very useful for data preprocessing,data transformation,EDA and seamlessly improves the performance of Ml-Pipeline.

Usage

  • Make sure you have Python installed in your system.
  • Run Following command in the CMD.
  pip install statsflow

Example for probplot_transform() function

# importing the data  
df=pd.read_csv("data/UCI_Credit_Card.csv")
df.head()
#import probplot_transform function
from statsflow import probplot_transform

# apply the probplot_transform function

df['bill']=probplot_transform(feature=df['LIMIT_BAL'],trans_method='default')




Apply the probplot_transform function with various transformation['log','box_cox','recip','sqrt','expo']

#Exponential transformation
df['bill_expo']=probplot_transform(feature=df['LIMIT_BAL'],trans_method='expo')
#Square root transformation
df['bill_sqrt']=probplot_transform(feature=df['LIMIT_BAL'],trans_method='sqrt')
# Box-cox  transformation
df['bill_box_cox']=probplot_transform(feature=df['LIMIT_BAL'],trans_method='box_cox')
# Logarithmic Transformation
df['bill_log']=probplot_transform(feature=df['LIMIT_BAL'],trans_method='log')
#Reciprocal Transformation 
df['bill_log']=probplot_transform(feature=df['LIMIT_BAL'],trans_method='recip')

Note

-For Initial version i have only include the probplot_transform function.soon i will try to implement new statistical functions.

Probplot Transform Function:

Description:

This function used to interpret whether the given data follows normal distribution by using histogram and probplot. if the data not follows normal distribution then with the help of the trans_method param it can transform the data using Box-Cox,Logarithmic,Reciprocal,Square Root,Exponential Transformation.

Args:

[feature(pd.Series),trans_method('default','log','box_cox','recip','sqrt','expo')]

Project details


Download files

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

Source Distribution

statsflow-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

statsflow-0.0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file statsflow-0.0.1.tar.gz.

File metadata

  • Download URL: statsflow-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for statsflow-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d51af16bf1dc2e6b23e4302d6f7ad1e613ecb137ee3752c63ff1ab802e6f6d96
MD5 efd3ad85da560ccd317204c00d01ff8b
BLAKE2b-256 109c9865be5a0545878edba23b4556b357c7125e732e87e450ee4c5c5b105c15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: statsflow-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for statsflow-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ce2d09b6d0e007799cb7c9f2985559728e63c81fcc7550a04c6b074f0cfb0a5e
MD5 a1b8373f9170920e0463418f2938b19e
BLAKE2b-256 9eb01a7915414de708c863ab209b04e5cb3c3a77131861756744ef3912dced89

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