Challenge
Aufgabe
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:
- Create dictionary
data
in the following format: key is'Prices'
, respective values isprices
list ('Price': prices
), and key is'Quantity'
, respective values isquantity
list. - Create DataFrame
df
using.DataFrame()
method and passing thedata
as the first parameter, andnames
as theindex
parameter.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 7
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Suggested prompts:
Zusammenfassen Sie dieses Kapitel
Code in file erklären
Erklären, warum file die Aufgabe nicht löst
Awesome!
Completion rate improved to 3.33
Challenge
Swipe um das Menü anzuzeigen
Aufgabe
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:
- Create dictionary
data
in the following format: key is'Prices'
, respective values isprices
list ('Price': prices
), and key is'Quantity'
, respective values isquantity
list. - Create DataFrame
df
using.DataFrame()
method and passing thedata
as the first parameter, andnames
as theindex
parameter.
Lösung
War alles klar?
Danke für Ihr Feedback!
Awesome!
Completion rate improved to 3.33Abschnitt 1. Kapitel 7
single