Python programming with Pandas - .values vs. .as_matrix()

Опубликовано: 24 Октябрь 2024
на канале: Lazy Programmer
1,378
28

Deep Learning Prerequisites: The Numpy Stack in Python

Get the FULL course FREE and more at: https://deeplearningcourses.com

Small update to tell you about a new change to Pandas which replaces .as_matrix() with .values.

But a more important discussion is included on not being afraid of minor changes. Too often, beginners get frightened of nearly trivial differences. A machine learning engineer should not be so scared that they can't figure out the difference between xrange and range.

They should not get scared when a new version of Tensorflow is released (which happened about 10 times last year).

We can resolve this by following the rule:

** "Learn the principles, not the syntax" **