Avsnitt 1. Kapitel 11
single
Task: Modifying a single element
Svep för att visa menyn
Uppgift
Swipe to start coding
At Café Pandasia, the coffee shop tracks its coffee bean inventory. The data is stored in a pandas.Series that keeps track of the quantity of each coffee bean type (coffee_inventory);
The café manager has noticed a mistake in the inventory of "Robusta" beans — it was recorded as 200, but after a recount, it should actually be 180.
- Modify the
coffee_inventoryand set theRobustabeans to180.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 11
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal