I’m encountering an error in the heat map values test, which relates to the values in the correlation matrix. I checked and there are no missing or null values. I also followed the filtering criteria and can’t seem to find the source of the error in the values.
Traceback (most recent call last):
File “d:\network.py\Medical Data Visualizer\test_module.py”, line 47, in test_heat_map_values
self.assertEqual(actual, expected, “Expected different values in heat map.”)
AssertionError: Lists differ: ['0.0[59 chars], ‘0.2’, ‘0.0’, ‘0.0’, ‘0.0’, ‘0.0’, ‘0.0’, ‘0[548 chars]0.1’] != ['0.0[59 chars], ‘0.3’, ‘0.0’, ‘0.0’, ‘0.0’, ‘0.0’, ‘0.0’, ‘0[548 chars]0.1’]
First differing element 9:
‘0.2’
‘0.3’