qdesc 0.1.9.4__py3-none-any.whl → 0.1.9.6__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qdesc
3
- Version: 0.1.9.4
3
+ Version: 0.1.9.6
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,23 @@ Dynamic: license-file
20
20
  Dynamic: requires-dist
21
21
  Dynamic: summary
22
22
 
23
- # qdesc - Quick and Easy Descriptive Analysis
24
- ![Package Version](https://img.shields.io/badge/version-0.1.9.2-pink)
23
+ # <font face = 'Impact' color = '#274472' > qdesc : Quick and Easy Descriptive Analysis </font>
24
+ ![QDesc](https://raw.githubusercontent.com/Dcroix/qdesc/refs/heads/main/QDesc%20logo.png)
25
+
26
+ ![Package Version](https://img.shields.io/badge/version-0.1.9.6-pink)
25
27
  ![Downloads](https://pepy.tech/badge/qdesc)
26
28
  ![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)
27
29
  ![License: GPL v3.0](https://img.shields.io/badge/license-GPL%20v3.0-blue)
28
30
 
29
- ## Installation
31
+ ## <font face = 'Calibri' color = '#274472' > Installation </font>
30
32
  ```sh
31
33
  pip install qdesc
32
34
  ```
33
35
 
34
- ## Overview
36
+ ## <font face = 'Calibri' color = '#274472' > Overview </font>
35
37
  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
38
 
37
- ## Creating a sample dataframe
39
+ ## <font face = 'Calibri' color = '#274472' > Creating a sample dataframe</font>
38
40
  ```python
39
41
  import pandas as pd
40
42
  import numpy as np
@@ -49,8 +51,7 @@ data = {
49
51
  # Create DataFrame
50
52
  df = pd.DataFrame(data)
51
53
  ```
52
-
53
- ## qd.desc Function
54
+ ## <font face = 'Calibri' color = '#274472' > qd.desc Function</font>
54
55
  The function qd.desc(df) generates the following statistics:
55
56
  * count - number of observations
56
57
  * mean - measure of central tendency for normal distribution
@@ -73,9 +74,7 @@ qd.desc(df)
73
74
  | Salary | 15.0 | 72724 | 29483 | 67660 | 26311 | 34168 | 119590 | 0.40 | 0.68 |
74
75
  ```
75
76
 
76
-
77
-
78
- ## qd.grp_desc Function
77
+ ## <font face = 'Calibri' color = '#274472' > qd.grp_desc Function</font>
79
78
  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
79
  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
80
  with qd.normcheck_dashboard allows one to decide on the appropriate measure of central tendency and spread.
@@ -90,8 +89,7 @@ qd.grp_desc(df, "Salary", "Gender")
90
89
  | Male | 8 | 62,096.12 | 23,766.82 | 60,347.0 | 14,278.5 | 34,168 | 106,281 | 0.24 | 0.71 |
91
90
  ```
92
91
 
93
-
94
- ## qd.freqdist Function
92
+ ## <font face = 'Calibri' color = '#274472' > qd.freqdist Function</font>
95
93
  Run the function qd.freqdist(df, "Variable Name") to easily create a frequency distribution for your chosen categorical variable with the following:
96
94
  * Variable Levels (i.e., for Sex Variable: Male and Female)
97
95
  * Counts - the number of observations
@@ -109,9 +107,7 @@ qd.freqdist(df, "Department")
109
107
  | Finance | 2 | 13.33 |
110
108
  ```
111
109
 
112
-
113
-
114
- ## qd.freqdist_a Function
110
+ ## <font face = 'Calibri' color = '#274472' > qd.freqdist_a Function</font>
115
111
  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
112
  * Variable levels (i.e., for Satisfaction: Very Low, Low, Moderate, High, Very High)
117
113
  * Counts - the number of observations
@@ -131,9 +127,7 @@ qd.freqdist_a(df)
131
127
  | Gender | Female | 7 | 46.67% |
132
128
  ```
133
129
 
134
-
135
-
136
- ## qd.freqdist_to_excel Function
130
+ ## <font face = 'Calibri' color = '#274472' > qd.freqdist_to_excel Function</font>
137
131
  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
132
  * Variable levels (i.e., for Satisfaction: Very Low, Low, Moderate, High, Very High)
139
133
  * Counts - the number of observations
@@ -146,7 +140,7 @@ qd.freqdist_to_excel(df, "Results.xlsx")
146
140
  Frequency distributions written to Results.xlsx
147
141
  ```
148
142
 
149
- ## qd.normcheck_dashboard Function
143
+ ## <font face = 'Calibri' color = '#274472' > qd.normcheck_dashboard Function</font>
150
144
  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
145
 
152
146
  ```python
@@ -156,17 +150,17 @@ qd.normcheck_dashboard(df)
156
150
  ![Descriptive Statistics](https://raw.githubusercontent.com/Dcroix/qdesc/refs/heads/main/qd.normcheck_dashboard.png)
157
151
 
158
152
 
159
- ## License
153
+ ## <font face = 'Calibri' color = '#3D5B59' > License</font>
160
154
  This project is licensed under the GPL-3 License. See the LICENSE file for more details.
161
155
 
162
- ## Acknowledgements
156
+ ## <font face = 'Calibri' color = '#3D5B59' > Acknowledgements</font>
163
157
  Acknowledgement of the libraries used by this package...
164
158
 
165
- ### Pandas
159
+ ### <font face = 'Calibri' color = '#3D5B59' > Pandas</font>
166
160
  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
- ### NumPy
161
+ ### <font face = 'Calibri' color = '#3D5B59' > Numpy</font>
168
162
  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
163
+ ### <font face = 'Calibri' color = '#3D5B59' > SciPy</font>
170
164
  SciPy is distributed under the BSD License, scipy is developed by SciPy contributors. Copyright (c) 2001-2024, SciPy Developers. All rights reserved.
171
165
 
172
166
 
@@ -0,0 +1,6 @@
1
+ qdesc/__init__.py,sha256=MalRpouno6XdakUDspmBU1QZB8oW542rjgFohcinIJM,7933
2
+ qdesc-0.1.9.6.dist-info/licenses/LICENCE.txt,sha256=xdFo-Rt6I7EP7C_qrVeIBIcH_7mRGUh8sciJs2R8VmY,9684
3
+ qdesc-0.1.9.6.dist-info/METADATA,sha256=OKad-zetm0hODGF9USf6v_0AE-y_MbkvsRMBxUkF_ag,8683
4
+ qdesc-0.1.9.6.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
5
+ qdesc-0.1.9.6.dist-info/top_level.txt,sha256=JuSs1wWRGN77DVuq-SX-5P7m_mIZF0ikEVgPTBOrHb0,6
6
+ qdesc-0.1.9.6.dist-info/RECORD,,
@@ -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,,