After using imputer still im finding NAN values

After imputing the values still i can see NAN values before building the model, may i know why??

why is this happening.

You use incorrect dataframe in your transform() calls.

You are using prices_df, which obviously doesn’t have the imputed data. Only the inputs have to be transformed.