File tree Expand file tree Collapse file tree 7 files changed +23
-15
lines changed
Expand file tree Collapse file tree 7 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 11"""Delete the rows of the dataset in which all QIs are set to *."""
2+
23import pandas as pd
34
45
Original file line number Diff line number Diff line change 1- """"Convert the file StudentsMath_Score.sav into csv."""
1+ """ "Convert the file StudentsMath_Score.sav into csv."""
2+
23import pandas as pd
34
45FILE_NAME = "StudentsMath_Score.sav"
Original file line number Diff line number Diff line change 1818# -- Project information -----------------------------------------------------
1919
2020project = "pycanon"
21- copyright = "2022 , Spanish National Research Council (CSIC)"
21+ copyright = "2025 , Spanish National Research Council (CSIC)"
2222author = "Spanish National Research Council (CSIC)"
2323
2424# The full version, including alpha/beta/rc tags
5656# Add any paths that contain custom static files (such as style sheets) here,
5757# relative to this directory. They are copied after the builtin static files,
5858# so a file named "default.css" will overwrite the builtin "default.css".
59- html_static_path = ["_static" ]
59+ # html_static_path = ["_static"]
Original file line number Diff line number Diff line change 1- pyCANON: A Python library to check the level of anonymity of a dataset
2- ======================================================================
1+ .. image :: https://raw.githubusercontent.com/IFCA-Advanced-Computing/pycanon/main/images/pycanon_logo.png
2+ :align: center
3+ :width: 400px
4+
5+ A Python library to check the level of anonymity of a dataset
6+ ================================================================================================
37
48pyCANON is a `Python `_ library which allows the user to know the anonymity
59level of a dataset based on a set of quasi-identifiers (QI), and a set of
@@ -41,3 +45,4 @@ Indices and tables
4145* :ref: `genindex `
4246* :ref: `modindex `
4347* :ref: `search `
48+
Original file line number Diff line number Diff line change 11Getting started
22###############
33
4- Using pyCANON is quite straighforward.
4+ Start using pyCANON:
55
66Install
77***********************
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ Subpackages
1010 pycanon.anonymity
1111 pycanon.report
1212 pycanon.utility
13+
14+ Module contents
15+ ---------------
16+
17+ .. automodule :: pycanon
18+ :members:
19+ :undoc-members:
20+ :show-inheritance:
1321
1422Submodules
1523----------
@@ -22,10 +30,3 @@ pycanon.cli module
2230 :undoc-members:
2331 :show-inheritance:
2432
25- Module contents
26- ---------------
27-
28- .. automodule :: pycanon
29- :members:
30- :undoc-members:
31- :show-inheritance:
Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ def discernability_metric(
9494 :type data_raw: pandas dataframe
9595
9696 :param data_anon: dataframe with the data anonymized. Assuming that all the
97- equivalence classes have more than k records, and given each suppressed record
98- a penalty of the size of the input dataset.
97+ equivalence classes have more than k records, and given each suppressed record
98+ a penalty of the size of the input dataset.
9999 :type data_anon: pandas dataframe
100100
101101 :param quasi_ident: list with the name of the columns of the dataframe
You can’t perform that action at this time.
0 commit comments