This function lets the user remove all columns that have some or all values as NAs
removenacols(df, all = TRUE, ignore = NULL)
Data.frame
Boolean. Remove columns containing ONLY NA
values.
If set to FALSE
, remove columns containing at least one NA
.
Character vector. Column names to ignore validation.
data.frame with removed columns.
Other Data Wrangling:
balance_data()
,
categ_reducer()
,
cleanText()
,
date_cuts()
,
date_feats()
,
formatNum()
,
holidays()
,
impute()
,
left()
,
normalize()
,
numericalonly()
,
ohe_commas()
,
ohse()
,
removenarows()
,
replaceall()
,
textFeats()
,
textTokenizer()
,
vector2text()
,
year_month()
,
year_week()