File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
src/datascience/ydata/datascience/common Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 11from .privacy import PrivacyLevel
22from .anonymizer import AnonymizerType
3+ from .column_characteristic import ColumnCharacteristic
34
45
56__all__ = [
67 "PrivacyLevel" ,
7- "AnonymizerType"
8+ "AnonymizerType" ,
9+ "ColumnCharacteristic"
810]
Original file line number Diff line number Diff line change 1+ from ydata .core .enum import StringEnum
2+
3+
4+ class ColumnCharacteristic (StringEnum ):
5+ # Adding new characteristics may require adding a new generator to:
6+ # src/ydatasynthesizers/ydata-synthesizers/ydata/synthesizers/faker/utils.py
7+ ID = "id"
8+ EMAIL = "email"
9+ URL = "url"
10+ UUID = "uuid"
11+ NAME = "name"
12+ PHONE = "phone"
13+ VAT = "vat"
14+ IBAN = "iban"
15+ CREDIT_CARD = "credit_card"
16+ COUNTRY = "country"
17+ ZIPCODE = "zipcode"
18+ ADDRESS = "address"
19+ PII = 'PII'
20+ # Generic characteristic grouping Country, Address, etc.
21+ LOCATION = 'location'
22+ PERSON = 'person' # Generic characteristic grouping person related attributes
You can’t perform that action at this time.
0 commit comments