Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

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 AyishaR/4c956c14dcc4231d05e4d6f235cf2100 to your computer and use it in GitHub Desktop.
Save AyishaR/4c956c14dcc4231d05e4d6f235cf2100 to your computer and use it in GitHub Desktop.
df_final['Financial Distress'] = (df_final['Financial Distress']<-0.5).astype('int')
# Distribution of class values in the dataset
df_final['Financial Distress'].value_counts()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment