Last active
October 31, 2017 01:37
-
-
Save evanfrisch/a02994a06f85e386e8cf3da0750791bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create categorical feature user_reputation_quantile from user_reputation | |
df = dc.create_categorical_feature(dataframe=df, base_field="user_reputation", categorical_field="user_reputation_quantile", levels=5, increment=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment