Skip to main content

No project description provided

Project description

Statispy

Satisfy your cravings for statistics using statispy. It's a python toolset what will help you in your journey of statistical analysis through a plug and play manner. All you need to do is import the tools, feed the data, and collect the result, all through one single line of code. Our mission: Make statistics easy for non-coding statisticians.

Table of contents

Prerequisites

As of now, the statispy toolset supports only the Pandas Dataframe format for data. The dependencies that you need to use this toolset are

Python >=3.6
pandas==1.0.1

Installing

Installing the package is a no brainer.

pip install statispy

Documentation

Please read the documentation to understand how to use the toolset.

sample

Sample is a sub-package that deals with sampling data. Currently the tools support only basic sampling techniques, which includes : Random sampling and Systematic sampling.

To import the sampling tools use

from statispy import sample

Basic sampling

sample.basic_sample(data, size, method = 'random')
  1. data: pandas DataFrame object, containing the statistical dataset (population)
  2. size: Sample size
  3. method: sampling technique. method = 'random' creates a random sample. method = 'systematic' creates a systematic sample. Returns : Dataframe

stats

The stats sub-package offers basic statistical tools which includes : Mean, Root mean square,Standard deviation and variance

To import the sampling tools use

from statispy import stats

Mean

stats.mean(data, col, weight = None)
  1. data: pandas DataFrame object, containing the statistical dataset (population)
  2. col: column whose mean is to be calculated
  3. weight: Default value is None. To calculate weighted mean, set weight as the column name which contains the weight

Returns : Float/integer

Root mean square

stats.RMS(data, col)
  1. data: pandas DataFrame object, containing the statistical dataset (population)
  2. col: column whose mean is to be calculated

Returns : Float/integer

Variance

stats.variance(data, col)
  1. data: pandas DataFrame object, containing the statistical dataset (population)
  2. col: column whose mean is to be calculated

Returns : Float/integer

Standard Deviation

stats.SD(data, col)
  1. data: pandas DataFrame object, containing the statistical dataset (population)
  2. col: column whose mean is to be calculated

Returns : Float/integer

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Shankhanil Ghosh - Initial work

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache-2.0 License - see the LICENSE.md file for details

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

statispy-1.0.0.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.

statispy-1.0.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file statispy-1.0.0.tar.gz.

File metadata

  • Download URL: statispy-1.0.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for statispy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5cb345cf687da9cf1166e4ca1a5e765cc48d30be9e6b76266ee10362ca62a17e
MD5 48387684da3dba4f433b31026f277089
BLAKE2b-256 139ed1d1304f37256ac07309f7e6a0921138cf5a4302e2f29a51007ae2dbefd8

See more details on using hashes here.

File details

Details for the file statispy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: statispy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for statispy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 238ca6ea790d67eaa70c41678eb346b233fa9cbf899f9e4cd77c3331edb3c257
MD5 8123eed0f56ba5953aa13730ac71cb33
BLAKE2b-256 ffe801a3b253d95dad4241379d8abb45ad0180aa93883ec591cf8ab476318a17

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