Skip to content

How to make an integer variable to be treated as numerical #121

Answered by magomar
magomar asked this question in Q&A
Discussion options

You must be logged in to vote

I will answer myself:
this is achieved by means of a FeatureConfig being passed to the command in param feat_cfg

report = sv.analyze((df, 'My report'), target_feat='my_target_feature', feat_cfg=sv.FeatureConfig(force_num=['my_numerical_feature']))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by magomar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant