Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge | Basics
Introduction to pandas [track]

Svep för att visa menyn

book
Challenge

Uppgift

Swipe to start coding

You are given three lists: prices, names, and quantity, representing prices of items, their names and quantity, respectively. Your tasks are:

  1. Create dictionary data in the following format: key is 'Prices', respective values is prices list ('Price': prices), and key is 'Quantity', respective values is quantity list.
  2. Create DataFrame df using .DataFrame() method and passing the data as the first parameter, and names as the index parameter.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 7

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

book
Challenge

Uppgift

Swipe to start coding

You are given three lists: prices, names, and quantity, representing prices of items, their names and quantity, respectively. Your tasks are:

  1. Create dictionary data in the following format: key is 'Prices', respective values is prices list ('Price': prices), and key is 'Quantity', respective values is quantity list.
  2. Create DataFrame df using .DataFrame() method and passing the data as the first parameter, and names as the index parameter.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 7
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt