C2W2 Assignment: partial error in the grader for preprocessing function

@tigran not sure if it is applicable to you, but this helped me: C2W2 - Assignment Score Issue - Machine Learning Engineering for Production(MLOps) / MLEP Course 2 - DeepLearning.AI