BLACK FRIDAY EXTRA SAVINGS EVENT - EXTENDED
START FREE

General manual method for checking if code can be vectorized

Screen Link:
https://app.dataquest.io/c/69/m/401/map-and-anonymous-functions/4/map-functions

The screen states that there are 2 methods for checking if code can be vectorized. You can either

  1. check manually.
  2. check the documentation

The method for checking manually that is given in the screen is very specific to the class function and cannot be transferred to manually checking any function. Does there exist a way of checking if any function can be vectorized and why can some functions be vectorized and others not?

Thankyou for your time and help.