Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
#12 Numpy | Python for Data Science
Play lesson

Python for Data Science - #12 Numpy | Python for Data Science

4.0 (2)
25 learners

What you'll learn

This course includes

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

Summary

Keywords

Full Transcript

Welcome to 'Python for Data Science' course ! This video introduces the NumPy (Numerical Python) library and explains its advantages over built-in Python arrays for numerical operations, especially in data science. NumPy enables concise and efficient operations on entire arrays without using explicit loops, making it computationally faster than traditional Python lists, particularly for large datasets. Additionally, NumPy arrays are more memory-efficient because they store elements of the same data type contiguously, unlike Python lists that store object references scattered in memory. NumPy's broadcasting feature simplifies operations between arrays of different shapes under certain conditions, making code more efficient. The video then explains how to use NumPy for numerical operations, including creating arrays using various functions like `array()`, `arange()`, `zeros()`, `ones()`, `linspace()`, and `random.rand()`, understanding array attributes such as dimensions (`ndim`), shape (`shape`), size (`size`), and data type (`dtype`), reshaping arrays using the `reshape()` function, and accessing array elements and selecting portions using indexing and slicing. It also briefly touches upon the application of NumPy arrays in mathematical and logical operations on multi-dimensional data, which will be discussed in later lectures. NPTEL Courses permit certifications that can be used for Course Credits in Indian Universities as per the UGC and AICTE notifications. To understand various certification options for this course, please visit https://nptel.ac.in/courses/106106212 #keys #values #items #add #update #remove #discard #pop #union #intersection #difference #NumPy #Arrays #NumericalOperations #Multi-dimensionalData #MathematicalOperations #Logical Operations

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