Challenge
Taak
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
datain the following format: key is'Prices', respective values ispriceslist ('Price': prices), and key is'Quantity', respective values isquantitylist. - Create DataFrame
dfusing.DataFrame()method and passing thedataas the first parameter, andnamesas theindexparameter.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 7
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 3.33
Challenge
Veeg om het menu te tonen
Taak
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
datain the following format: key is'Prices', respective values ispriceslist ('Price': prices), and key is'Quantity', respective values isquantitylist. - Create DataFrame
dfusing.DataFrame()method and passing thedataas the first parameter, andnamesas theindexparameter.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 7
single