Complete the code to fill missing values in the DataFrame using interpolation.
df['column'] = df['column'].[1]()
The interpolate() method fills missing values by estimating intermediate values.
Complete the code to interpolate missing values using linear method along the index.
df['column'] = df['column'].interpolate(method=[1])
The linear method interpolates missing values by connecting points with straight lines.
Fix the error in the code to interpolate missing values along columns instead of rows.
df.interpolate(axis=[1], inplace=True)
Setting axis=1 interpolates along columns (horizontally).
Fill both blanks to create a dictionary comprehension that maps words to their lengths only if length is greater than 3.
{word: [1] for word in words if [2]The dictionary comprehension maps each word to its length if the length is greater than 3.
Fill all three blanks to create a dictionary comprehension that maps uppercase words to their values only if value is positive.
{ [1]: [2] for [3] in data.items() if [2] > 0 }The comprehension maps uppercase keys to their values only if the value is positive.