Introduction
Arrays are a fundamental data structure in Numpy library. In this lab, we will learn how to create arrays in Numpy library using the empty, zeroes, and ones functions.
VM Tips
After the VM startup is done, click the top left corner to switch to the Notebook tab to access Jupyter Notebook for practice.
Sometimes, you may need to wait a few seconds for Jupyter Notebook to finish loading. The validation of operations cannot be automated because of limitations in Jupyter Notebook.
If you face issues during learning, feel free to ask Labby. Provide feedback after the session, and we will promptly resolve the problem for you.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
python(("`Python`")) -.-> python/BasicConceptsGroup(["`Basic Concepts`"])
numpy(("`NumPy`")) -.-> numpy/ArrayBasicsGroup(["`Array Basics`"])
python(("`Python`")) -.-> python/ModulesandPackagesGroup(["`Modules and Packages`"])
python(("`Python`")) -.-> python/DataScienceandMachineLearningGroup(["`Data Science and Machine Learning`"])
python/BasicConceptsGroup -.-> python/variables_data_types("`Variables and Data Types`")
numpy/ArrayBasicsGroup -.-> numpy/multi_array("`Multi-dimensional Array Creation`")
numpy/ArrayBasicsGroup -.-> numpy/data_array("`Data to Array`")
numpy/ArrayBasicsGroup -.-> numpy/shape_dim("`Shapes and Dimensions`")
numpy/ArrayBasicsGroup -.-> numpy/data_type("`Data Types`")
python/ModulesandPackagesGroup -.-> python/importing_modules("`Importing Modules`")
python/ModulesandPackagesGroup -.-> python/using_packages("`Using Packages`")
python/DataScienceandMachineLearningGroup -.-> python/numerical_computing("`Numerical Computing`")
subgraph Lab Skills
python/variables_data_types -.-> lab-86395{{"`Creating Empty, Zeroes, and Ones Arrays`"}}
numpy/multi_array -.-> lab-86395{{"`Creating Empty, Zeroes, and Ones Arrays`"}}
numpy/data_array -.-> lab-86395{{"`Creating Empty, Zeroes, and Ones Arrays`"}}
numpy/shape_dim -.-> lab-86395{{"`Creating Empty, Zeroes, and Ones Arrays`"}}
numpy/data_type -.-> lab-86395{{"`Creating Empty, Zeroes, and Ones Arrays`"}}
python/importing_modules -.-> lab-86395{{"`Creating Empty, Zeroes, and Ones Arrays`"}}
python/using_packages -.-> lab-86395{{"`Creating Empty, Zeroes, and Ones Arrays`"}}
python/numerical_computing -.-> lab-86395{{"`Creating Empty, Zeroes, and Ones Arrays`"}}
end