PYTHON Study Guide - Numpy, Pycharm

2 views2 pages
26 May 2023
Department
Course
Professor

Document Summary

Section overview: in this document, the speaker introduces multi- dimensional arrays in python and explains how they differ from single- dimensional arrays. The speaker also discusses the limitations of using the built-in array package for multi-dimensional arrays and introduces the numpy package as a solution. A single-dimensional array has one row and multiple columns. A multi-dimensional array has multiple rows and columns. Multi-dimensional arrays can be 2d, 3d, or even 4d. The built-in array package in python does not support multi-dimensional arrays. Attempting to create a multi-dimensional array with the built-in package will result in an error. Numpy is a third-party package that allows for working with multi- dimensional arrays in python. To use numpy, it must first be installed using pip3. Once installed, numpy can be imported into your code using . Section overview: in this section, the instructor explains how to install and use numpy in pycharm.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents

Related Questions