Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
NumPy multidimensional arrays are easy! 🧊
Play lesson

NumPy tutorial for beginners 🔢 - NumPy multidimensional arrays are easy! 🧊

5.0 (0)
5 learners

What you'll learn

This course includes

  • 1.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#coding #python #numpy import numpy as np array = np.array([[['A', 'B', 'C'], ['D', 'E', 'F'], ['G', 'H', 'I']], [['J', 'K', 'L'], ['M', 'N', 'O'], ['P', 'Q', 'R']], [['S', 'T', 'U'], ['V', 'W', 'X'], ['Y', 'Z', ' ']]]) print(array.ndim) #returns number of dimensions print(array.shape) #returns a tuple of integers that represent the shape word = array[0, 0, 0] + array[2, 0, 0] + array[2, 0, 0] print(word)

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere