4-5. Frame - Data Cleaning
Fill NA: Replace the value NA with another value.
Drop NA: Removes rows or columns that contain NA values.
Fill Outlier: Replaces outliers in a specific column.
Drop Outlier: Removes outliers in a specific column.
Drop Duplicates: Remove duplicate values.
Fill NA
Method: Select a fill method.
Replace Value: NA with the input value.
Forward/Back Fill: Replace the NA with the value before/after it. If there are consecutive NA's, you can limit the fill to only a few NA's.
Statistics: Replace NA with Statistics.
Drop NA
How
Select Options: If the number of non-missing values in any row is less than the value set in Threshold, delete that row.
Any: If there is any NA in the row, delete the row.
All: If all values in a row are NA, delete the row.
Ignore Index: Choose whether to reset the index after the operation.
Drop Duplicates
Keep: Select which of the duplicate values you want to keep. If you select False, all duplicate values will be deleted.
Ignore Index: Choose whether to reset the index after the operation.
Last updated