Which of the following functions may be used in handling the missing values in pandas?
(A) isnull()
(B) any()
(C) dropna()
(D) delna()
Which of the following functions may be used in handling the missing values in pandas?
(A) isnull()
(B) any()
(C) dropna()
(D) delna()
Solution
isnull() detects missing values (returns True where a value is NaN), any() is used with it to check whether any missing value exists in a row or column, and dropna() removes rows or columns that contain missing values. So (A), (B) and (C) are used for handling missing values.
delna() is not a pandas function.
Option 3 and others containing (D): pandas has no delna(). The real functions are dropna() to remove and fillna() to replace missing values, so do not confuse delna() with fillna().
Related questions:
2025: 30 May Shift 2
2025: 13 May Shift 2
2026: 23 May Shift 1
2025: 14 May Shift 1