You don’t have to round the correlation matrix as you can control the formatting of the heatmap that seaborn will generate; check the sns.heatmap() documentation. It’s happening because something (round probably, without seeing the rest of your code) is automagically converting floats like 0.0 to 0 as an int.
Debugging would be much easier with a link to a repl for the project.