Resolved: a_train.shape doesn't work
Good morning. When I run the cell "a_train.shape, a_test.shape", nothing happens. Why?
2 answers ( 1 marked as helpful)
Hey Alessandro,
Thank you for your question!
In your code, the variables a_train
and a_test
should be of type numpy.ndarray
. If that is true, then the .shape
parameter should, in any case, give an output.
Could you please share more details on the problem and, if possible, a screenshot?
Kind regards,
365 Hristina
Hi. I have just solved the problem by myself: by mistake, when I was on those cells, I had activated the "Raw NBConvert" (I don't know what it is used for), while it should be on "Code" instead. Thanks