Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recognize_features_type in util.py must recognize int32 and int64 #13

Open
rodrigocostacamargos opened this issue Feb 23, 2024 · 0 comments

Comments

@rodrigocostacamargos
Copy link

def recognize_features_type(df, class_name):
int_types = ['int64', 'int32'] # rodrigo
integer_features = list(df.select_dtypes(include=int_types).columns)
# integer_features = list(df.select_dtypes(include=['int64']).columns)
double_features = list(df.select_dtypes(include=['float64']).columns)
string_features = list(df.select_dtypes(include=['object']).columns)
type_features = {
'integer': integer_features,
'double': double_features,
'string': string_features,
}

@rodrigocostacamargos rodrigocostacamargos changed the title recognize_features_type in util.py must recognize int32 and int 64 recognize_features_type in util.py must recognize int32 and int64 Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant