Failed test case: transformed_data incorrectly defined->C2W2_Assignment

Hello,

I am getting below error for " Machine Learning Data Lifecycle in Production-C2W2_Assignment". Anything i am missing?

Failed test case: transformed_data incorrectly defined (showing changed values with respect to correct answer).
Expected:
{},
but got:
{“root[0][‘traffic_volume_xf’]”: {‘new_value’: 1, ‘old_value’: 0}, “root[1][‘traffic_volume_xf’]”: {‘new_value’: 0, ‘old_value’: 1}, “root[2][‘traffic_volume_xf’]”: {‘new_value’: 1, ‘old_value’: 0}, “root[3][‘traffic_volume_xf’]”: {‘new_value’: 1, ‘old_value’: 0}, “root[4][‘traffic_volume_xf’]”: {‘new_value’: 1, ‘old_value’: 0}}.

Thanks
Bharath

The problem is clearly with your solution transformed_data function, I would go and recheck and try to solve it in a different way!

thank you, will check again.