0

This question is strongly related to this Question on Stackoverflow: Problems importing pandas.plotting

I tried all the Answers, but this did not work. So I also tried with and without the tools module

I also try to make a scatter_matrix:

enter image description here

My version of Pandas is: 0.24.2

Any ideas? Thanks

Ekaba Bisong
  • 2,918
  • 2
  • 23
  • 38
Filip
  • 1
  • 1
  • 1
    What is the version of Python? For my py3.7, `from pandas.plotting import scatter_matrix` worked. – shimo Dec 27 '19 at 12:45

2 Answers2

0
import pandas as pd
pd.plotting.scatter_matrix()

See doc: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.plotting.scatter_matrix.html

Ekaba Bisong
  • 2,918
  • 2
  • 23
  • 38
0

use: import pandas.plotting import scatter_matrix

Reference document link for version 0.24.2 https://pandas.pydata.org/pandas-docs/version/0.24/reference/api/pandas.plotting.scatter_matrix.html

Rohit Jadhav
  • 1,035
  • 2
  • 11
  • 14