csv-detective 0.10.1.dev2651__py3-none-any.whl → 0.10.1.dev2660__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.
- csv_detective/output/profile.py +5 -1
- {csv_detective-0.10.1.dev2651.dist-info → csv_detective-0.10.1.dev2660.dist-info}/METADATA +1 -1
- {csv_detective-0.10.1.dev2651.dist-info → csv_detective-0.10.1.dev2660.dist-info}/RECORD +5 -5
- {csv_detective-0.10.1.dev2651.dist-info → csv_detective-0.10.1.dev2660.dist-info}/WHEEL +0 -0
- {csv_detective-0.10.1.dev2651.dist-info → csv_detective-0.10.1.dev2660.dist-info}/entry_points.txt +0 -0
csv_detective/output/profile.py
CHANGED
|
@@ -81,7 +81,11 @@ def create_profile(
|
|
|
81
81
|
del cast_col
|
|
82
82
|
# for all formats we want most frequent values, nb unique values and nb missing values
|
|
83
83
|
tops_bruts = (
|
|
84
|
-
(
|
|
84
|
+
(
|
|
85
|
+
table[c].value_counts()
|
|
86
|
+
if _col_values is None
|
|
87
|
+
else (s := _col_values[c]).loc[s.index.notna()].sort_values(ascending=False)
|
|
88
|
+
)
|
|
85
89
|
.reset_index(name=_count_col)
|
|
86
90
|
.iloc[:10]
|
|
87
91
|
.to_dict(orient="records")
|
|
@@ -74,7 +74,7 @@ csv_detective/formats/year.py,sha256=tMc2HHr6Jga3PGWjmeHweK3G17DsjkIpIUUkCecXAm4
|
|
|
74
74
|
csv_detective/output/__init__.py,sha256=ALSq_tgX7rGyh--7rmbKz8wHkmResN0h7mNujndow3w,2103
|
|
75
75
|
csv_detective/output/dataframe.py,sha256=Hnd-AY51U0JMACcpuaK9wwO4oCX9Nd7ZLUTqavgJWRA,3406
|
|
76
76
|
csv_detective/output/example.py,sha256=8LWheSBYCeDFfarbnmzBrdCbTd8Alh1U4pfXMKfabOw,8630
|
|
77
|
-
csv_detective/output/profile.py,sha256=
|
|
77
|
+
csv_detective/output/profile.py,sha256=ADr5DwuvwcBYxugjN38fHm11l6ivfzGHXPd8a87Ht-s,4985
|
|
78
78
|
csv_detective/output/schema.py,sha256=XoKljXPXP00DfqPCiz1ydwTHYGAFsvNxnaPCNBuuBIo,10443
|
|
79
79
|
csv_detective/output/utils.py,sha256=tbji3dEH7bDc6gLCeVSVquqU3xaHA1CQOMuaJT4Hub8,3297
|
|
80
80
|
csv_detective/parsing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -86,7 +86,7 @@ csv_detective/parsing/load.py,sha256=f-8aKiNpy_47qg4Lq-UZUR4NNrbJ_-KEGvcUQZ8cmb0
|
|
|
86
86
|
csv_detective/parsing/text.py,sha256=yDAcop5xJQc25UtbZcV0guHXAZQfm-H8WuJORTy8Rr8,1734
|
|
87
87
|
csv_detective/utils.py,sha256=RJ_zFOJ1DRY8HtDrKPiCdNk5gU6-KwOrOKOyfSkBZZY,1118
|
|
88
88
|
csv_detective/validate.py,sha256=CjZXhhDP-n6wGgEqbwrGRqebU8L5bidwnvQp-TbnvFA,5424
|
|
89
|
-
csv_detective-0.10.1.
|
|
90
|
-
csv_detective-0.10.1.
|
|
91
|
-
csv_detective-0.10.1.
|
|
92
|
-
csv_detective-0.10.1.
|
|
89
|
+
csv_detective-0.10.1.dev2660.dist-info/WHEEL,sha256=xDCZ-UyfvkGuEHPeI7BcJzYKIZzdqN8A8o1M5Om8IyA,79
|
|
90
|
+
csv_detective-0.10.1.dev2660.dist-info/entry_points.txt,sha256=1J86TQNCanjsLMboAufdEUla03qEQaC9QmVGYgt2FCQ,57
|
|
91
|
+
csv_detective-0.10.1.dev2660.dist-info/METADATA,sha256=uNunnYgNHHudxq2dBAEh1_66VUfikSstl6ltOrDz3Sc,11064
|
|
92
|
+
csv_detective-0.10.1.dev2660.dist-info/RECORD,,
|
|
File without changes
|
{csv_detective-0.10.1.dev2651.dist-info → csv_detective-0.10.1.dev2660.dist-info}/entry_points.txt
RENAMED
|
File without changes
|