CARVIEW |
Checking & handling missing values
Checking & handling missing values
Question 1
Which method tells how many non-null values are present in each column?
describe()
shape()
info()
dtypes()
Question 2
Which function is used to check for missing values in a Pandas DataFrame?
isna()
fillna()
replace()
dropna()
Question 3
Which method is used to replace all missing values in a DataFrame with a specific value?
dropna()
replace()
fillna()
interpolate()
Question 4
What happens when you use dropna(how='all')
on a DataFrame?
Drops rows with at least one missing value
Drops columns with at least one missing value
Drops rows where all values are missing
Drops the entire DataFrame
Question 5
Which method can fill missing values using previous row values?
bfill
pad
replace
dropna
Question 6
How does interpolate(method='linear')
handle missing values?
It deletes rows with missing values
It replaces missing values with a fixed number
It fills missing values by estimating them based on existing data
It replaces missing values with the column mean
There are 6 questions to complete.