code: def primes_from_2_to(n):
      """Prime numbers from 2 to *n*.
  
      Parameters
      ----------
      n : int
          Sup bound with ``n >= 6``.
  
      Returns
      -------
      primes : list(int)
          Primes in ``2 <= p < n``.
  
      References
      ----------
      [1] `StackOverflow <https://stackoverflow.com/questions/2068372>`_.
      """
      sieve = np.ones(n // 3 + (n % 6 == 2), dtype=bool)
      for i in range(1, int(n**0.5) // 3 + 1):
          if sieve[i]:
              k = 3 * i + 1 | 1
              sieve[k * k // 3 :: 2 * k] = False
              sieve[k * (k - 2 * (i & 1) + 4) // 3 :: 2 * k] = False
      return np.r_[2, 3, ((3 * np.nonzero(sieve)[0][1:] + 1) | 1)]
  
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: primes_from_2_to(n) and returns: np