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

Course Content

Introduction to pandas [track]

Introduction to pandas [track]

1. Basics
2. Reading and Exploring Data
3. Accessing DataFrame Values
4. Aggregate Functions

Challenge

Task

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.

Task

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 7
toggle bottom row

Challenge

Task

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.

Task

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 7
toggle bottom row

Challenge

Task

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.

Task

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Task

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.

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 7
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt