Skip to content

Instantly share code, notes, and snippets.

@ksdkamesh99
Created July 25, 2020 15:39
Show Gist options
  • Save ksdkamesh99/2c8eb604bd357bc95fab938eb7dd8133 to your computer and use it in GitHub Desktop.
Save ksdkamesh99/2c8eb604bd357bc95fab938eb7dd8133 to your computer and use it in GitHub Desktop.
'''If we want to divide our data frame into 2 parts one belongs to setosa
and other belongs to other than setosa you need to add a boolean series with dataframe
equal to setosa and mention the names in compare_intra() function
'''
compare_intra_report=sv.compare_intra(train,train['species']=='Iris-setosa',['setosa','other'])
# If you want to display the report then use show_html function
compare_intra_report.show_html()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment