Python NumPy For Your Grandma - 4.1 where()

preview_player
Показать описание
In this video, we'll see how you can use NumPy's where function as a vectorized approach to writing if-else statements.

0:00 - intro / setup / vectorization
2:28 - runtime comparison / %%timeit

--- Code ------------------------

--- Vids & Playlists ----------------------------------

--- Subscribe To Mailing List ----------------------------------

--- Support ------------------------
Рекомендации по теме
Комментарии
Автор

Excellent and easy to understand example

cdh
Автор

Check out this updated course (and more) in written form @

gormanalysis
Автор

can't you make the font bigger in the IDE
grandma can't see your tiny little font

agreedThroneLogic