In a Jupyter notebook I have this variable train_dataset
.
I would like to see what is its class using this:
print train_dataset.__class__.__name__
However, I'm getting this error:
print train_dataset.__class__.__name__
^
SyntaxError: invalid syntax
This print type(train_dataset)
has the same result.