Gradient of Unstructured Grid in Python

If you convert that gradients array to a NumPy array then it’s an N (number of points) by 9 array where each column is a gradient so you can extract each column and do whatever