Contenido del Curso
Introduction to pandas [track]
Introduction to pandas [track]
Challenge
Tarea
You are given three lists: prices
, names
, and quantity
, representing prices of items, their names and quantity, respectively. Your tasks are:
- Create dictionary
data
in the following format: key is'Prices'
, respective values isprices
list ('Price': prices
), and key is'Quantity'
, respective values isquantity
list. - Create DataFrame
df
using.DataFrame()
method and passing thedata
as the first parameter, andnames
as theindex
parameter.
¡Gracias por tus comentarios!
Challenge
Tarea
You are given three lists: prices
, names
, and quantity
, representing prices of items, their names and quantity, respectively. Your tasks are:
- Create dictionary
data
in the following format: key is'Prices'
, respective values isprices
list ('Price': prices
), and key is'Quantity'
, respective values isquantity
list. - Create DataFrame
df
using.DataFrame()
method and passing thedata
as the first parameter, andnames
as theindex
parameter.
¡Gracias por tus comentarios!
Challenge
Tarea
You are given three lists: prices
, names
, and quantity
, representing prices of items, their names and quantity, respectively. Your tasks are:
- Create dictionary
data
in the following format: key is'Prices'
, respective values isprices
list ('Price': prices
), and key is'Quantity'
, respective values isquantity
list. - Create DataFrame
df
using.DataFrame()
method and passing thedata
as the first parameter, andnames
as theindex
parameter.
¡Gracias por tus comentarios!
Tarea
You are given three lists: prices
, names
, and quantity
, representing prices of items, their names and quantity, respectively. Your tasks are:
- Create dictionary
data
in the following format: key is'Prices'
, respective values isprices
list ('Price': prices
), and key is'Quantity'
, respective values isquantity
list. - Create DataFrame
df
using.DataFrame()
method and passing thedata
as the first parameter, andnames
as theindex
parameter.