Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Basic Statistical Operations | Getting into NumPy Basics
Getting into NumPy Basics
course content

Зміст курсу

Getting into NumPy Basics

bookBasic Statistical Operations

NumPy offers a suite of functions for executing basic statistical operations on NumPy arrays, making it indispensable for data analysis. Key functions include:

  • mean(): Computes the mean (average) of array elements;
  • median(): Determines the median (middle value) of array elements;
  • std(): Calculates the standard deviation, measuring the spread of the array elements;
  • var(): Assesses the variance, indicating the variability of array elements;
  • min(): Identifies the minimum value within an array;
  • max(): Locates the maximum value within an array;
  • argmin(): Finds the index of the minimum value in an array;
  • argmax(): Discovers the index of the maximum value in an array.

Завдання

  1. Create an array filled with 10 random values.
  2. Compute the mean of the array.
  3. Determine the median of the array.
  4. Calculate the standard deviation of the array.
  5. Assess the variance of the array.

Mark tasks as Completed
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

NumPy offers a suite of functions for executing basic statistical operations on NumPy arrays, making it indispensable for data analysis. Key functions include:

  • mean(): Computes the mean (average) of array elements;
  • median(): Determines the median (middle value) of array elements;
  • std(): Calculates the standard deviation, measuring the spread of the array elements;
  • var(): Assesses the variance, indicating the variability of array elements;
  • min(): Identifies the minimum value within an array;
  • max(): Locates the maximum value within an array;
  • argmin(): Finds the index of the minimum value in an array;
  • argmax(): Discovers the index of the maximum value in an array.

Завдання

  1. Create an array filled with 10 random values.
  2. Compute the mean of the array.
  3. Determine the median of the array.
  4. Calculate the standard deviation of the array.
  5. Assess the variance of the array.

Mark tasks as Completed
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 1. Розділ 4
AVAILABLE TO ULTIMATE ONLY
some-alt