Reference: https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.0.0.html?highlight=as_matrix
Solution:
make change from
df.as_matrix()
to
df.values
Reference: https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.0.0.html?highlight=as_matrix
Solution:
make change from
df.as_matrix()
to
df.values