Data Analysis with Python Projects - Medical Data Visualizer: id

Why would you include ‘id’ in your heatmap?
Why would you even include it in the corr() calculation? It is not data, it just a record number. It is just a distraction in the heatmap and consumes processing for no value add.
Or am I missing something?

1 Like

The id is usually unnecessary since it’s just an identifier, but some correlation is possible if the data is sorted or ordered in a certain way.