remove¶
-
mastml.data_cleaner.
remove
(df, axis)[source]¶ Method that removes a full column or row of data values if one column or row contains NaN or is blank
- Args:
- df: (dataframe), pandas dataframe containing data axis: (int), whether to remove rows (axis=0) or columns (axis=1)
- Returns:
- df: (dataframe): dataframe with NaN or missing values removed