SkyAICampus
HomePracticeLearnCode LabFocus
SkyAICampus
PrivacyTermssupport@skyaicampus.com© 2026 SkyAI Campus
Log inSign up

Learn

HomePracticeConcept cardsCode LabSky Tutor

Review

Revise todayMistake notebookProgress

Focus

Campus ForestFocus roomsSquads

Questions or feedback?
support@skyaicampus.com

  1. 1Array basics
  2. 2Maths on arrays
  3. 3Reshaping and filtering
← NumPy

Lesson 1 of 3

Array basics

Watch, read the card, then practise. Creating arrays · Shape and data type · Indexing and slicing

Video coming soon

The video for this lesson is being recorded.

Meanwhile, the notes below and the 60-second cards cover the same ideas.

Practise this topic
  • Creating arrays

    A NumPy array is a grid of numbers of one type, built for fast maths.

    Remember: import numpy as np, then build arrays with np.something().

  • Shape and data type

    shape tells you the size of each dimension; dtype tells you the type of every value.

    Remember: Check .shape whenever something looks wrong.

  • Indexing and slicing

    Pick values with [row, column], and ranges with start:stop.

    Remember: Rows first, then columns, separated by a comma.

Try the example in Code Lab

import numpy as np
print(np.arange(0, 10, 2).tolist(), np.zeros(3).tolist())
Next: Maths on arrays →

In this lesson

  • Creating arrays
  • Shape and data type
  • Indexing and slicing

Practise this topic

5 questions at your level. The best way to make it stick.

Practise 5 questions