Skip to main content

Compute the Gini index.

Project description

pygini

Very simple module that computes the Gini index of a numpy array.

Installation

pip install pygini

Usage

import numpy as np
from pygini import gini

A = np.random.random(100)
GI = gini(A)

See examples directory.

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

pygini-0.0.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

pygini-0.0.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygini-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.8

File hashes

Hashes for pygini-0.0.1.tar.gz
Algorithm Hash digest
SHA256 327b91b53e74f9ade7f553806f86935afabf9fe29c0d4a79277cc27377b32296
MD5 864cab3951c8d1e901e90dc6b5d092d8
BLAKE2b-256 d49ba9b2072ba31e3585be4620a4586ae26e755d47fa8974c0ef6e62637efd0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygini-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.8

File hashes

Hashes for pygini-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a87f48b30fd9e29edd9d16e5100302a02edc79c66ee38889232cd41bc263061c
MD5 9a8a7bfef93231a04410a44331f178e0
BLAKE2b-256 d453fd8b6fea62c2a54abd8c5e4d015fc981ffb2023e7039e9dca846af069c88

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page