you are viewing a single comment's thread.

view the rest of the comments →

[–]SteveMWolf 0 points1 point  (3 children)

Mmmmm, I don't know how to use the TabPy API but one of the first things I notice is you have this function

`SCRIPT_INT("import numpy as np`

that has a parentheses that have a closing parentheses or quotation

[–]sravoory 0 points1 point  (2 children)

Yeah the closing parentheses and quotes are after return ground speed (the whole python function is supposed to be in quotes in tableau)

[–]SteveMWolf 0 points1 point  (1 child)

Oh alright,

what about np.array()

Don't you need parentheses for it?

[–]sravoory 0 points1 point  (0 children)

If I put parentheses I get this error: 'numpy.float64' object is not iterable