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

Contenu du cours

Introduction to pandas [track]

Introduction to pandas [track]

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

book
Challenge

Tâche

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 7
toggle bottom row

book
Challenge

Tâche

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 desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 7
Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt