Description Usage Arguments Value Examples
Impute missing values with the strategy (mean, median) selected by the user.
1 | miss_data(x_train, x_test, strategy)
|
x_train |
The train set dataframe with missing values in it. |
x_test |
The test set DataFrame with missing values in it. |
strategy |
The imputation strategy as a string |
list containing the x_train and x_test dataframes without any missing values.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.