Skip to main content

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')]

Release files for statsflow 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for statsflow 0.0.1
File Size Uploaded
statsflow-0.0.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for statsflow 0.0.1
File Interpreter ABI Platform
statsflow-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / statsflow-0.0.1.tar.gz

Download URL statsflow-0.0.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d51af16bf1dc2e6b23e4302d6f7ad1e613ecb137ee3752c63ff1ab802e6f6d96
BLAKE2b-256 checksum
How to use checksums
109c9865be5a0545878edba23b4556b357c7125e732e87e450ee4c5c5b105c15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release files / statsflow-0.0.1-py3-none-any.whl

Download URL statsflow-0.0.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce2d09b6d0e007799cb7c9f2985559728e63c81fcc7550a04c6b074f0cfb0a5e
BLAKE2b-256 checksum
How to use checksums
9eb01a7915414de708c863ab209b04e5cb3c3a77131861756744ef3912dced89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page