dropna
Dropna is a method in the pandas library used to remove missing values from DataFrame or Series objects. It can return a new object or modify the original one in place, depending on the inplace parameter. Dropna is a common data cleaning step to prepare data for analysis or modeling.
By default, dropna operates along rows (axis=0) and removes any row containing at least one missing value.
The how parameter controls the criterion for removal: 'any' (the default) drops a row or column if
In addition, ignore_index can be used to reindex the result with a continuous index, and inplace determines