How do you handle the missing or corrupted data in a dataset?

4 years ago
Machine Learning

In Python Pandas, there are two methods that are very useful. We can use these two methods to locate the lost or corrupted data and discard those values:

  • isNull(): For detecting the missing values, we can use the isNull() method.
  • dropna(): For removing the columns/rows with null values, we can use the dropna() method.
      Also, we can use fillna() to fill the void values with a placeholder value.
0
Sanisha Maharjan
Jan 11, 2022
More related questions

Questions Bank

View all Questions