Premium problem91. Record Array from Array

Hard Locked

Z is a 2-D object array of (name, value, count) rows. Build a record array from it and return the col2 (float) values:

  • columns col1, col2, col3
  • formats S8, f8, i8

Input

[['Hello' '2.5' '3']
 ['World' '3.6' '2']]

Output

[2.5 3.6]

Premium problem

This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.

Implement solve(...)