-
I have some integer variables that I'd like to be treated as numerical, but sweetviz insists in treating them as categorical, even after casting those variables to float. |
Beta Was this translation helpful? Give feedback.
Answered by
magomar
Jun 9, 2022
Replies: 1 comment
-
I will answer myself:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
magomar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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']))