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 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
- - the given series w/o detected pii elements
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 col.drop(idx_all)
74
+ return idx_all
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pandas-plots
3
- Version: 0.11.6
3
+ Version: 0.11.7
4
4
  Summary: A collection of helper for table handling and vizualization
5
5
  Home-page: https://github.com/smeisegeier/pandas-plots
6
6
  Author: smeisegeier
@@ -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,,