pandas-plots 0.11.6__tar.gz → 0.11.7__tar.gz

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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = pandas-plots
3
- version = 0.11.6
3
+ version = 0.11.7
4
4
  author = smeisegeier
5
5
  author_email = dexterDSDo@googlemail.com
6
6
  description = A collection of helper for table handling and vizualization
@@ -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
File without changes
File without changes