Skip to content

Instantly share code, notes, and snippets.

@BinarySpoon
Created September 29, 2020 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BinarySpoon/68d2c911a932b720a9e8e3c1ad48bee6 to your computer and use it in GitHub Desktop.
Save BinarySpoon/68d2c911a932b720a9e8e3c1ad48bee6 to your computer and use it in GitHub Desktop.
#Index by test ticket id's
test_df = pd.read_csv('test.csv', encoding = 'ISO-8859-1')
test_df['compliance'] = y_proba
test_df.set_index('ticket_id', inplace=1)
#Return compliance predictions
return test_df.compliance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment