Complete the code to fill missing values in the DataFrame column 'Age' with 30.
df['Age'] = df['Age'].[1](30)
The fillna() method replaces missing values with the specified value, here 30.
Complete the code to fill missing values in the entire DataFrame with the value 0.
df = df.[1](0)
The fillna() method fills all missing values in the DataFrame with 0.
Fix the error in the code to fill missing values in column 'Score' with the mean of that column.
df['Score'] = df['Score'].[1](df['Score'].mean())
Use fillna() to replace missing values with the mean of the column.
Fill both blanks to create a dictionary that fills missing values in 'Height' with 170.
df = df.fillna([1]: [2])
The dictionary key is the column name as a string, and the value is the fill value.
Fill all three blanks to create a dictionary that fills missing values in 'Height' with 170 and 'Weight' with 65, then apply it with fillna().
fill_values = [1]: [2], [3]: 65} df = df.fillna(fill_values)
The dictionary keys are column names as strings, and values are the fill values.