0

I have a dataframe

          1mbank.ru akbars.ru   alfabank.ru avangard.ru bank-hlynov.ru
1mbank.ru       0.968421053 0.705263158 0.947368421 0.978947368
akbars.ru   0.968421053     0.715789474 0.936842105 0.968421053
alfabank.ru 0.705263158 0.715789474     0.694736842 0.726315789
avangard.ru 0.947368421 0.936842105 0.694736842     0.947368421
bank-hlynov.ru  0.978947368 0.968421053 0.726315789 0.947368421 

I need to plot a graph, where I can estimate the similarity of this urls. Scatter plot print all points and it looks not good.

Petr Petrov
  • 4,090
  • 10
  • 31
  • 68

1 Answers1

0

You might want to use a heatmap, which you can do with e.g. seaborn or plotly. The usage is quite straightforward in either case. Or you can even do it with pure matplotlib.

heatmap of the data frame

Community
  • 1
  • 1
David Z
  • 128,184
  • 27
  • 255
  • 279