qdesc 0.1.9.4__py3-none-any.whl → 0.1.9.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of qdesc might be problematic. Click here for more details.
- {qdesc-0.1.9.4.dist-info → qdesc-0.1.9.5.dist-info}/METADATA +16 -24
- qdesc-0.1.9.5.dist-info/RECORD +6 -0
- qdesc-0.1.9.4.dist-info/RECORD +0 -6
- {qdesc-0.1.9.4.dist-info → qdesc-0.1.9.5.dist-info}/WHEEL +0 -0
- {qdesc-0.1.9.4.dist-info → qdesc-0.1.9.5.dist-info}/licenses/LICENCE.txt +0 -0
- {qdesc-0.1.9.4.dist-info → qdesc-0.1.9.5.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: qdesc
|
|
3
|
-
Version: 0.1.9.
|
|
3
|
+
Version: 0.1.9.5
|
|
4
4
|
Summary: Quick and Easy way to do descriptive analysis.
|
|
5
5
|
Author: Paolo Hilado
|
|
6
6
|
Author-email: datasciencepgh@proton.me
|
|
@@ -20,21 +20,21 @@ Dynamic: license-file
|
|
|
20
20
|
Dynamic: requires-dist
|
|
21
21
|
Dynamic: summary
|
|
22
22
|
|
|
23
|
-
# qdesc
|
|
23
|
+
# <font face = 'Impact' color = '#274472' > qdesc : Quick and Easy Descriptive Analysis </font>
|
|
24
24
|

|
|
25
25
|

|
|
26
26
|

|
|
27
27
|

|
|
28
28
|
|
|
29
|
-
## Installation
|
|
29
|
+
## <font face = 'Calibri' color = '#274472' > Installation </font>
|
|
30
30
|
```sh
|
|
31
31
|
pip install qdesc
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
## Overview
|
|
34
|
+
## <font face = 'Calibri' color = '#274472' > Overview </font>
|
|
35
35
|
Qdesc is a package for quick and easy descriptive analysis. It is a powerful Python package designed for quick and easy descriptive analysis of quantitative data. It provides essential statistics like mean and standard deviation for normal distribution and median and raw median absolute deviation for skewed data. With built-in functions for frequency distributions, users can effortlessly analyze categorical variables and export results to a spreadsheet. The package also includes a normality check dashboard, featuring Anderson-Darling statistics and visualizations like histograms and Q-Q plots. Whether you're handling structured datasets or exploring statistical trends, qdesc streamlines the process with efficiency and clarity.
|
|
36
36
|
|
|
37
|
-
## Creating a sample dataframe
|
|
37
|
+
## <font face = 'Calibri' color = '#274472' > Creating a sample dataframe</font>
|
|
38
38
|
```python
|
|
39
39
|
import pandas as pd
|
|
40
40
|
import numpy as np
|
|
@@ -49,8 +49,7 @@ data = {
|
|
|
49
49
|
# Create DataFrame
|
|
50
50
|
df = pd.DataFrame(data)
|
|
51
51
|
```
|
|
52
|
-
|
|
53
|
-
## qd.desc Function
|
|
52
|
+
## <font face = 'Calibri' color = '#274472' > qd.desc Function</font>
|
|
54
53
|
The function qd.desc(df) generates the following statistics:
|
|
55
54
|
* count - number of observations
|
|
56
55
|
* mean - measure of central tendency for normal distribution
|
|
@@ -73,9 +72,7 @@ qd.desc(df)
|
|
|
73
72
|
| Salary | 15.0 | 72724 | 29483 | 67660 | 26311 | 34168 | 119590 | 0.40 | 0.68 |
|
|
74
73
|
```
|
|
75
74
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
## qd.grp_desc Function
|
|
75
|
+
## <font face = 'Calibri' color = '#274472' > qd.grp_desc Function</font>
|
|
79
76
|
This function, qd.grp_desc(df, "Continuous Var", "Group Var") creates a table for descriptive statistics similar to the qd.desc function but has the measures
|
|
80
77
|
presented for each level of the grouping variable. It allows one to check whether these measures, for each group, are approximately normal or not. Combining it
|
|
81
78
|
with qd.normcheck_dashboard allows one to decide on the appropriate measure of central tendency and spread.
|
|
@@ -90,8 +87,7 @@ qd.grp_desc(df, "Salary", "Gender")
|
|
|
90
87
|
| Male | 8 | 62,096.12 | 23,766.82 | 60,347.0 | 14,278.5 | 34,168 | 106,281 | 0.24 | 0.71 |
|
|
91
88
|
```
|
|
92
89
|
|
|
93
|
-
|
|
94
|
-
## qd.freqdist Function
|
|
90
|
+
## <font face = 'Calibri' color = '#274472' > qd.freqdist Function</font>
|
|
95
91
|
Run the function qd.freqdist(df, "Variable Name") to easily create a frequency distribution for your chosen categorical variable with the following:
|
|
96
92
|
* Variable Levels (i.e., for Sex Variable: Male and Female)
|
|
97
93
|
* Counts - the number of observations
|
|
@@ -109,9 +105,7 @@ qd.freqdist(df, "Department")
|
|
|
109
105
|
| Finance | 2 | 13.33 |
|
|
110
106
|
```
|
|
111
107
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
## qd.freqdist_a Function
|
|
108
|
+
## <font face = 'Calibri' color = '#274472' > qd.freqdist_a Function</font>
|
|
115
109
|
Run the function qd.freqdist_a(df, ascending = FALSE) to easily create frequency distribution tables, arranged in descending manner (default) or ascending (TRUE), for all the categorical variables in your data frame. The resulting table will include columns such as:
|
|
116
110
|
* Variable levels (i.e., for Satisfaction: Very Low, Low, Moderate, High, Very High)
|
|
117
111
|
* Counts - the number of observations
|
|
@@ -131,9 +125,7 @@ qd.freqdist_a(df)
|
|
|
131
125
|
| Gender | Female | 7 | 46.67% |
|
|
132
126
|
```
|
|
133
127
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
## qd.freqdist_to_excel Function
|
|
128
|
+
## <font face = 'Calibri' color = '#274472' > qd.freqdist_to_excel Function</font>
|
|
137
129
|
Run the function qd.freqdist_to_excel(df, "Filename.xlsx", ascending = FALSE ) to easily create frequency distribution tables, arranged in descending manner (default) or ascending (TRUE), for all the categorical variables in your data frame and SAVED as separate sheets in the .xlsx File. The resulting table will include columns such as:
|
|
138
130
|
* Variable levels (i.e., for Satisfaction: Very Low, Low, Moderate, High, Very High)
|
|
139
131
|
* Counts - the number of observations
|
|
@@ -146,7 +138,7 @@ qd.freqdist_to_excel(df, "Results.xlsx")
|
|
|
146
138
|
Frequency distributions written to Results.xlsx
|
|
147
139
|
```
|
|
148
140
|
|
|
149
|
-
## qd.normcheck_dashboard Function
|
|
141
|
+
## <font face = 'Calibri' color = '#274472' > qd.normcheck_dashboard Function</font>
|
|
150
142
|
Run the function qd.normcheck_dashboard(df) to efficiently check each numeric variable for normality of its distribution. It will compute the Anderson-Darling statistic and create visualizations (i.e., qq-plot, histogram, and boxplots) for checking whether the distribution is approximately normal.
|
|
151
143
|
|
|
152
144
|
```python
|
|
@@ -156,17 +148,17 @@ qd.normcheck_dashboard(df)
|
|
|
156
148
|

|
|
157
149
|
|
|
158
150
|
|
|
159
|
-
## License
|
|
151
|
+
## <font face = 'Calibri' color = '#3D5B59' > License</font>
|
|
160
152
|
This project is licensed under the GPL-3 License. See the LICENSE file for more details.
|
|
161
153
|
|
|
162
|
-
## Acknowledgements
|
|
154
|
+
## <font face = 'Calibri' color = '#3D5B59' > Acknowledgements</font>
|
|
163
155
|
Acknowledgement of the libraries used by this package...
|
|
164
156
|
|
|
165
|
-
### Pandas
|
|
157
|
+
### <font face = 'Calibri' color = '#3D5B59' > Pandas</font>
|
|
166
158
|
Pandas is distributed under the BSD 3-Clause License, pandas is developed by Pandas contributors. Copyright (c) 2008-2024, the pandas development team All rights reserved.
|
|
167
|
-
###
|
|
159
|
+
### <font face = 'Calibri' color = '#3D5B59' > Numpy</font>
|
|
168
160
|
NumPy is distributed under the BSD 3-Clause License, numpy is developed by NumPy contributors. Copyright (c) 2005-2024, NumPy Developers. All rights reserved.
|
|
169
|
-
### SciPy
|
|
161
|
+
### <font face = 'Calibri' color = '#3D5B59' > SciPy</font>
|
|
170
162
|
SciPy is distributed under the BSD License, scipy is developed by SciPy contributors. Copyright (c) 2001-2024, SciPy Developers. All rights reserved.
|
|
171
163
|
|
|
172
164
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
qdesc/__init__.py,sha256=MalRpouno6XdakUDspmBU1QZB8oW542rjgFohcinIJM,7933
|
|
2
|
+
qdesc-0.1.9.5.dist-info/licenses/LICENCE.txt,sha256=xdFo-Rt6I7EP7C_qrVeIBIcH_7mRGUh8sciJs2R8VmY,9684
|
|
3
|
+
qdesc-0.1.9.5.dist-info/METADATA,sha256=qt9gtvqp1Jn2VNUZPQaMH6_8WJpKi6QEcYzYDMC9c0M,8590
|
|
4
|
+
qdesc-0.1.9.5.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
|
5
|
+
qdesc-0.1.9.5.dist-info/top_level.txt,sha256=JuSs1wWRGN77DVuq-SX-5P7m_mIZF0ikEVgPTBOrHb0,6
|
|
6
|
+
qdesc-0.1.9.5.dist-info/RECORD,,
|
qdesc-0.1.9.4.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
qdesc/__init__.py,sha256=MalRpouno6XdakUDspmBU1QZB8oW542rjgFohcinIJM,7933
|
|
2
|
-
qdesc-0.1.9.4.dist-info/licenses/LICENCE.txt,sha256=xdFo-Rt6I7EP7C_qrVeIBIcH_7mRGUh8sciJs2R8VmY,9684
|
|
3
|
-
qdesc-0.1.9.4.dist-info/METADATA,sha256=RVyuWWw-ei_7_QpucP5zmVfSzeQFwhgXPu62E7V679Q,7839
|
|
4
|
-
qdesc-0.1.9.4.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
|
5
|
-
qdesc-0.1.9.4.dist-info/top_level.txt,sha256=JuSs1wWRGN77DVuq-SX-5P7m_mIZF0ikEVgPTBOrHb0,6
|
|
6
|
-
qdesc-0.1.9.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|