Last answered:

22 Nov 2022

Posted on:

18 Nov 2022

0

how to solve pandas error

hey

when i type

product_categories = pd.series (products)

it gives me an error

2 answers ( 0 marked as helpful)
Posted on:

19 Nov 2022

0

make sure to import pandas and type in the proper letter casings:

import pandas as pd
products = ['A','B','C','D']
product_categories = pd.Series(products)

Instructor
Posted on:

22 Nov 2022

0

Hi Antonious and Derrick!
Thanks for reaching out.

@: Derrick
Thanks for sharing this piece of information with the Community!

@: Antonious
It should be Series with a capital letter, not series with a small letter.

Hope this helps.
Best,
Tsvetelin

Submit an answer