Skip to content

Instantly share code, notes, and snippets.

@fabclmnt
Created May 24, 2023 06:00
Show Gist options
  • Save fabclmnt/0917495707486bd317c544574f51a917 to your computer and use it in GitHub Desktop.
Save fabclmnt/0917495707486bd317c544574f51a917 to your computer and use it in GitHub Desktop.
Set numerical and categorical columns for synthesis
data = fetch_data('adult')
num_cols = ['age', 'fnlwgt', 'capital-gain', 'capital-loss', 'hours-per-week']
cat_cols = ['workclass','education', 'education-num', 'marital-status', 'occupation', 'relationship', 'race', 'sex',
'native-country', 'target']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment