Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Data Import | Time Series Essentials
Time Series Essentials
course content

Зміст курсу

Time Series Essentials

bookData Import

Methods description

  • pandas: This module provides data structures and functions for working with structured data, primarily tabular data. It includes classes like DataFrame and Series for representing data, as well as functions for reading and writing data from various file formats;

  • read_csv(filename): This method is used to read a CSV file and create a DataFrame from its contents;

  • head(num_rows): This method is used to display the first few rows of the DataFrame. By default, it shows the first 5 rows, but you can specify the number of rows to display.

Завдання
test

Swipe to show code editor

  1. Import pandas as pd.
  2. Read the "passengers_data.csv" file.
  3. Show the first 5 rows of the dataset.

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

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

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

Methods description

  • pandas: This module provides data structures and functions for working with structured data, primarily tabular data. It includes classes like DataFrame and Series for representing data, as well as functions for reading and writing data from various file formats;

  • read_csv(filename): This method is used to read a CSV file and create a DataFrame from its contents;

  • head(num_rows): This method is used to display the first few rows of the DataFrame. By default, it shows the first 5 rows, but you can specify the number of rows to display.

Завдання
test

Swipe to show code editor

  1. Import pandas as pd.
  2. Read the "passengers_data.csv" file.
  3. Show the first 5 rows of the dataset.

Mark tasks as Completed
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 1. Розділ 2
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt