Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge | Basics
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Introduction to pandas [track]
Section 1. Chapter 4
single

single

bookChallenge

Swipe to show menu

Task

Swipe to start coding

You are given two lists prices and names with prices and names of certain goods. Your tasks are:

  1. Import pandas library with the pd alias.
  2. Create pandas series from prices list and assign it to prices_series variable.
  3. Change indexes of prices_series series to names.

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 4
single

single

Ask AI

expand

Ask AI

ChatGPT

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

some-alt