freqit-1.0
توضیحات
Better frequency and crosstab tables.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | freqit-1.0 |
| نام | freqit |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Lauren McNamara <lauren.mcnamara@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/freqit/ |
| مجوز | - |
# 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:<br>
`pip install freqit`
Use:
```python
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 |
نیازمندی
| مقدار | نام |
|---|---|
| - | pandas |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl freqit-1.0:
pip install freqit-1.0.whl
نصب پکیج tar.gz freqit-1.0:
pip install freqit-1.0.tar.gz