Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sf_crime_11.py
cont, cat = cont_cat_split(train, max_card=5, dep_var="TargetedCategory")
cat.remove("Dates")
print(f"{len(cont)} Continuous columns: {cont}")
print(f"{len(cat)} categorical columns: {cat}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment