3d or 2d numpy array? #4

Closed
opened 2025-11-02 00:01:06 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @captDaylight on GitHub (Dec 13, 2018).

In the numpy notebook, in the section # 3-D array (matrix) I see that when you run the cell one of the outputs is x ndim: 2. Seems that the title is in conflict with how numpy categorizes it and I've always considered [[], []] to be 2d.

Originally created by @captDaylight on GitHub (Dec 13, 2018). In the [numpy notebook](https://github.com/GokuMohandas/practicalAI/blob/master/notebooks/02_NumPy.ipynb), in the section `# 3-D array (matrix)` I see that when you run the cell one of the outputs is `x ndim: 2`. Seems that the title is in conflict with how numpy categorizes it and I've always considered `[[], []]` to be 2d.
Author
Owner

@GokuMohandas commented on GitHub (Dec 13, 2018):

good catch. I've fixed the confusion

@GokuMohandas commented on GitHub (Dec 13, 2018): good catch. I've fixed the confusion
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/Made-With-ML#4