‘DataFrame’ object has no attribute ‘as_matrix’


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

Be the first to comment

Leave a Reply

Your email address will not be published.


*