Strange we just had the same problem here:
https://forum.freecodecamp.org/t/data-analysis-with-python-projects-medical-data-visualizer-heatmap-values/638538/3
Your replit might be corrupt.
Try to fork the replit from this boilerplate link and copy your code back into the new replit.