Skip to content

IntCastingNaNError: Cannot convert non-finite values (NA or inf) to integer #49

@thl456

Description

@thl456

I am trying to run the smogn on my dataframe that has already dropna. The settings of the parameters are as below:

ztg = smoter(data=ztg.reset_index(drop=True), y='FINAL_MARKS', 
             samp_method = 'extreme',drop_na_col=True,drop_na_row=True, replace=False,
            rel_xtrm_type= 'high', rel_coef = 2.25)

But I still get the error 'IntCastingNaNError: Cannot convert non-finite values (NA or inf) to integer', any solution to resolve the issue pls?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions