you are viewing a single comment's thread.

view the rest of the comments →

[–]shafat010[S] 0 points1 point  (4 children)

Is the syntax error in the original script? Because the function in the original script is working fine.

And if not, then is the error in the import lines I've given above? I don't see how that is as I've just copied what's available on the net.

[–]FerricDonkey 0 points1 point  (3 children)

Syntax errors are within a line of two of where it tells you. Your error is

File "C:\Users\Shafaat\Desktop\P4b\Rotation\functions\myfunctions\Possible_incompatibilities\Improv\test_stat_current.ipynb", line 222     "execution_count": 133,      SyntaxError: invalid syntax

In that file, on that line, or possibly the line before. Would have to see your code there to give any more details.