Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Task: Creating a Table of Popular Coffee Drinks | Basics of Dataframes
Pandas: First Steps
course content

Зміст курсу

Pandas: First Steps

Pandas: First Steps

1. Getting Started
2. Basics of Dataframes

book
Task: Creating a Table of Popular Coffee Drinks

Завдання

Swipe to start coding

The manager of Café Pandasia wants to organize a simple menu of their most popular coffee drinks, including each drink’s price and country of origin.

They’ve handed you the following data in table form:

☕ Coffee💲 Price🌍 Origin
Espresso2.5Italy
Latte3.5France
Cappuccino3.0Italy

Complete the code to create a DataFrame which contains the given data.

Note

Use the Dictionary of Lists format for representing the data.

Рішення

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

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

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

Секція 2. Розділ 2
toggle bottom row

book
Task: Creating a Table of Popular Coffee Drinks

Завдання

Swipe to start coding

The manager of Café Pandasia wants to organize a simple menu of their most popular coffee drinks, including each drink’s price and country of origin.

They’ve handed you the following data in table form:

☕ Coffee💲 Price🌍 Origin
Espresso2.5Italy
Latte3.5France
Cappuccino3.0Italy

Complete the code to create a DataFrame which contains the given data.

Note

Use the Dictionary of Lists format for representing the data.

Рішення

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

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

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

Секція 2. Розділ 2
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Ми дуже хвилюємося, що щось пішло не так. Що трапилося?
some-alt