Skip to main content

Gaussian distributions

Project description


Coinpy is a package to handle distribution data. There's a specific focus on gaussian and binomial distributions

Functions include returning the mean, standard deviation and plots of given dataset. You can also use coinpy to import data and add gaussian curves.

Made with assistance of Udacity during the data science course in object-oriented programming.


Use the package manager pip to install coinpy.

pip install coinpy


from coinpy import Gaussian

gaussian_one = Gaussian()

gaussian_one.read_data_file('numbers.txt', True)
# read .txt file from local directory

# returns and stores float mean 25 for example

# returns and stores standard dev 2 for example

# given x (or 5) returns prob density function 0.19947

# returns normalized histogram and prob density function


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.



Project details

Download files

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

Files for coinpy, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size coinpy-1.2.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page