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

Swipe to show menu

book
Challenge

Task

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 7
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

Awesome!

Completion rate improved to 3.33

book
Challenge

Task

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

close

Awesome!

Completion rate improved to 3.33

Swipe to show menu

some-alt