Pandas provide a function ____________ to check whether any value is missing or not in the DataFrame.
Pandas provide a function ____________ to check whether any value is missing or not in the DataFrame.
Solution
DataFrame.isnull() returns a DataFrame of the same shape with True where a value is missing (NaN or None) and False elsewhere. Chaining .any() or .sum() then shows which columns have missing values and how many.
The question is NCERT's own sentence: "Pandas provide a function isnull() to check whether any value is missing or not in the DataFrame", so NTA's key follows the textbook.
Option 2: isnan() is a NumPy function (np.isnan), not a pandas DataFrame method.
Option 4: ismissing() does not exist in pandas.
We believe the answer could be Option 3, since isna() is an exact alias of isnull() in pandas and works identically. However, NTA's final answer key (after all challenges) says Option 1.
Related questions:
2026: 24 May Shift 1