pandas-plots 0.11.6__py3-none-any.whl → 0.11.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.
- pandas_plots/pii.py +6 -3
- {pandas_plots-0.11.6.dist-info → pandas_plots-0.11.7.dist-info}/METADATA +1 -1
- pandas_plots-0.11.7.dist-info/RECORD +10 -0
- pandas_plots-0.11.6.dist-info/RECORD +0 -10
- {pandas_plots-0.11.6.dist-info → pandas_plots-0.11.7.dist-info}/LICENSE +0 -0
- {pandas_plots-0.11.6.dist-info → pandas_plots-0.11.7.dist-info}/WHEEL +0 -0
- {pandas_plots-0.11.6.dist-info → pandas_plots-0.11.7.dist-info}/top_level.txt +0 -0
pandas_plots/pii.py
CHANGED
@@ -14,11 +14,14 @@ def remove_pii(
|
|
14
14
|
Parameters:
|
15
15
|
- series: A pandas Series representing a column in a DataFrame.
|
16
16
|
- verbose: If True, print pii items
|
17
|
-
- logging: If True, write pii items into .pii.log
|
17
|
+
- logging: If True, write pii items into the file .pii.log
|
18
18
|
- custom_regex: Regex that is injected into detection
|
19
19
|
|
20
20
|
Returns:
|
21
|
-
-
|
21
|
+
- index object with indexes of all pii items
|
22
|
+
|
23
|
+
Remarks:
|
24
|
+
- df.drop(axis=0, index=result, inplace=True)
|
22
25
|
"""
|
23
26
|
|
24
27
|
# * reject empty columns
|
@@ -68,4 +71,4 @@ def remove_pii(
|
|
68
71
|
with open(".pii.log", "w") as f:
|
69
72
|
f.write(str(col.loc[idx_all]))
|
70
73
|
|
71
|
-
return
|
74
|
+
return idx_all
|
@@ -0,0 +1,10 @@
|
|
1
|
+
pandas_plots/hlp.py,sha256=rlNCOHglkDZWNuf7aeNeatXvOXGLxuxd-iWQf5m0We0,11768
|
2
|
+
pandas_plots/pii.py,sha256=9he5NsbyyYqsuQWmZYIvwYiyxCuKTZBPNNxBcQNxF_E,1998
|
3
|
+
pandas_plots/pls.py,sha256=BzZge7TnECjCs47MZ7P63_y2WU23P9sLaMl7SKB5h1Q,35043
|
4
|
+
pandas_plots/tbl.py,sha256=3mGLD11W6-KyD3XEL74F1OceyPGtqluqFvmL4Qv8PZo,23766
|
5
|
+
pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
|
6
|
+
pandas_plots-0.11.7.dist-info/LICENSE,sha256=6KQ5KVAAhRaB-JJKpX4cefKvRZRgI7GUPc92_2d31XY,1051
|
7
|
+
pandas_plots-0.11.7.dist-info/METADATA,sha256=jI2HEo-3ClWKn053IIW9a-vXr1PSW8ExO5krLJAIKBo,6819
|
8
|
+
pandas_plots-0.11.7.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
|
9
|
+
pandas_plots-0.11.7.dist-info/top_level.txt,sha256=XnaNuIHBqMmCeh_U7nKOYTwFue_SIA0wxuDgdPmnnSk,13
|
10
|
+
pandas_plots-0.11.7.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
pandas_plots/hlp.py,sha256=rlNCOHglkDZWNuf7aeNeatXvOXGLxuxd-iWQf5m0We0,11768
|
2
|
-
pandas_plots/pii.py,sha256=kCNCYZpQH_mcrgnEUR1elxgob9T2T997_3yX0YeTrtk,1931
|
3
|
-
pandas_plots/pls.py,sha256=BzZge7TnECjCs47MZ7P63_y2WU23P9sLaMl7SKB5h1Q,35043
|
4
|
-
pandas_plots/tbl.py,sha256=3mGLD11W6-KyD3XEL74F1OceyPGtqluqFvmL4Qv8PZo,23766
|
5
|
-
pandas_plots/ven.py,sha256=2x3ACo2vSfO3q6fv-UdDQ0h1SJyt8WChBGgE5SDCdCk,11673
|
6
|
-
pandas_plots-0.11.6.dist-info/LICENSE,sha256=6KQ5KVAAhRaB-JJKpX4cefKvRZRgI7GUPc92_2d31XY,1051
|
7
|
-
pandas_plots-0.11.6.dist-info/METADATA,sha256=YJ7R67X0q4P01uuSMQAHk7JxRCDVIaQj2JVesVsOX3g,6819
|
8
|
-
pandas_plots-0.11.6.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
|
9
|
-
pandas_plots-0.11.6.dist-info/top_level.txt,sha256=XnaNuIHBqMmCeh_U7nKOYTwFue_SIA0wxuDgdPmnnSk,13
|
10
|
-
pandas_plots-0.11.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|