Skip to main content

Better frequency and crosstab tables.

Project description

freqit

Better frequency and crosstab tables.

This is a work in progress meant to provide better functionality and more options in constructing frequency tables for data analysis. Currently one-way tables are supported, crosstabulation tables to come in the future.

The package takes a pandas series and outputs a frequency table for the values within the column.

Freqit requires that pandas and numpy are installed in the operating environment.

Installation:
pip install freqit

Use:

from freqit.oneway import freqtable
import pandas as pd

iris = pd.read_csv('https://gist.githubusercontent.com/curran/a08a1080b88344b0c8a7/raw/d546eaee765268bf2f487608c537c05e22e4b221/iris.csv')

freqtable(iris['species'])

Returns:

value count percentage cum_total cum_percentage
setosa 50 33.333333 50 33.333333
versicolor 50 33.333333 100 66.666667
virginica 50 33.333333 150 100.000000

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

freqit-1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

freqit-1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file freqit-1.0.tar.gz.

File metadata

  • Download URL: freqit-1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for freqit-1.0.tar.gz
Algorithm Hash digest
SHA256 308f46c26c4dc186d74f8015045a4b46cf207c695ea68a67b7cb92937171fcc2
MD5 00bbb6f00aa4e8148d2f67cbc5ef85b7
BLAKE2b-256 3952da2faa05f9639307208a307de808343dcaa70446d2bdd728e468c3c140db

See more details on using hashes here.

File details

Details for the file freqit-1.0-py3-none-any.whl.

File metadata

  • Download URL: freqit-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for freqit-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d759cd8f230f0c01c36160035e3d314bf5cd8360c3164e1bd5cc311b6160129
MD5 9d4354bf09c9a62ee3dabc67b0ede758
BLAKE2b-256 335586fb201c485b2f442783f78b5e62e09943af9efab5a149cf5a0c2a305c76

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