You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import numpy as np
from numpy.random import randint
#A function to simulate one million dice throws.
def one_million_dice():
return randint(low=1, high=7, size=1000000)
%%time
throws = one_million_dice()
mean = np.mean(throws)
Error:
---------------------------------------------------------------------------
SyntaxError Traceback (most recent call last)
File C:\Users\chhapoli\Anaconda3\envs\jupyterlab-debugger\lib\ast.py, in parse:
Line 35: return compile(source, filename, mode, PyCF_ONLY_AST)
SyntaxError: invalid syntax (<string>, line 1)
Question 1: How to see the complete traceback in Jupyter lab? Question2: How to fix it?
The text was updated successfully, but these errors were encountered:
I am trying to run magic commmands in jupyter lab which I recently installed with some debugger extension from this link:
https://github.com/jupyterlab/debugger
When I run this command:
Question 1: How to see the complete traceback in Jupyter lab?
Question2: How to fix it?
The text was updated successfully, but these errors were encountered: