qdesc 0.1.6.1__py3-none-any.whl → 0.1.7__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/__init__.py +6 -3
- {qdesc-0.1.6.1.dist-info → qdesc-0.1.7.dist-info}/METADATA +1 -1
- qdesc-0.1.7.dist-info/RECORD +6 -0
- qdesc-0.1.6.1.dist-info/RECORD +0 -6
- {qdesc-0.1.6.1.dist-info → qdesc-0.1.7.dist-info}/LICENCE.txt +0 -0
- {qdesc-0.1.6.1.dist-info → qdesc-0.1.7.dist-info}/WHEEL +0 -0
- {qdesc-0.1.6.1.dist-info → qdesc-0.1.7.dist-info}/top_level.txt +0 -0
qdesc/__init__.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import pandas as pd
|
|
2
|
-
import numpy as np
|
|
3
1
|
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
def desc(df):
|
|
4
|
+
import pandas as pd
|
|
5
|
+
import numpy as np
|
|
5
6
|
from scipy.stats import anderson
|
|
6
7
|
x = np.round(df.describe().T,2)
|
|
7
8
|
x = x.iloc[:, [0,1,2,5,3,7]]
|
|
@@ -78,6 +79,8 @@ def clean_sheet_name(name):
|
|
|
78
79
|
return name
|
|
79
80
|
|
|
80
81
|
def freqdist_to_excel(df, output_path, sort_by='Percentage', ascending=False, top_n=None):
|
|
82
|
+
import pandas as pd
|
|
83
|
+
import numpy as np
|
|
81
84
|
used_names = set()
|
|
82
85
|
with pd.ExcelWriter(output_path, engine='xlsxwriter') as writer:
|
|
83
86
|
for column in df.select_dtypes(include=['object', 'category']).columns:
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
qdesc/__init__.py,sha256=zmaI_ancCfg7Vuy8opqg8H9j6iwCElfIbGwBM15OJPU,4498
|
|
2
|
+
qdesc-0.1.7.dist-info/LICENCE.txt,sha256=xdFo-Rt6I7EP7C_qrVeIBIcH_7mRGUh8sciJs2R8VmY,9684
|
|
3
|
+
qdesc-0.1.7.dist-info/METADATA,sha256=RtfEWvWuIvU9BxXASizXho7YTYjMt_jzDEWCzfuXZZI,3780
|
|
4
|
+
qdesc-0.1.7.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
5
|
+
qdesc-0.1.7.dist-info/top_level.txt,sha256=JuSs1wWRGN77DVuq-SX-5P7m_mIZF0ikEVgPTBOrHb0,6
|
|
6
|
+
qdesc-0.1.7.dist-info/RECORD,,
|
qdesc-0.1.6.1.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
qdesc/__init__.py,sha256=1BwkmmnbM9RNIMlqOqCTg8jBmuUS7bGFGcQAiDwN80E,4438
|
|
2
|
-
qdesc-0.1.6.1.dist-info/LICENCE.txt,sha256=xdFo-Rt6I7EP7C_qrVeIBIcH_7mRGUh8sciJs2R8VmY,9684
|
|
3
|
-
qdesc-0.1.6.1.dist-info/METADATA,sha256=XvwvncOxF5FrXSG0jyTgzfANtsnkJbnFwDY-gaOUVqM,3782
|
|
4
|
-
qdesc-0.1.6.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
5
|
-
qdesc-0.1.6.1.dist-info/top_level.txt,sha256=JuSs1wWRGN77DVuq-SX-5P7m_mIZF0ikEVgPTBOrHb0,6
|
|
6
|
-
qdesc-0.1.6.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|