Vectorized Operations in Python - Introductory Tutorial on the Semantics of Numpy-style Operators

preview_player
Показать описание
0:00 - Introduction to Vectorized Operations
1:40 - Conceptual example of a Vectorized Operations on String Arrays
6:06 - Example implementation setup
10:10 - Representing a StrArray as a str
11:30 - Implementing __add__ with a string value on the right-hand side
15:56 - Importing annotations from __future__ to allow self-references to classname from within class definitions
18:33 - Using the `Union` type as a parameter
19:40 - Addition an overloaded implementation of __add__ for bringing two arrays together
20:30 - Using the `isinstance` function to decide which type of a Union to evaluate
Рекомендации по теме