Skip to content

Instantly share code, notes, and snippets.

@joshreini1
Created March 1, 2023 15:48
Show Gist options
  • Save joshreini1/cd036c819da695b7e1b82b4b5ba235d3 to your computer and use it in GitHub Desktop.
Save joshreini1/cd036c819da695b7e1b82b4b5ba235d3 to your computer and use it in GitHub Desktop.
tru.add_segment_group("Sex", {"Male": "Sex == 'Male'", "Female": "Sex == 'Female'"})
tru.set_as_protected_segment(segment_group_name = "Sex", segment_name = "Female")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment