Skip to content

Instantly share code, notes, and snippets.

@dleybz
Created May 18, 2023 19:15
Show Gist options
  • Select an option

  • Save dleybz/f8368552ff63c74c460ea2473f5b7f44 to your computer and use it in GitHub Desktop.

Select an option

Save dleybz/f8368552ff63c74c460ea2473f5b7f44 to your computer and use it in GitHub Desktop.
import pandas as pd
car_claims_raw = pd.read_csv('car_claims_raw.csv')
car_claims_raw_temp = encode_fraud(car_claims_raw)
car_claims_prepared = encode_categorical(car_claims_raw_temp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment