Last answered:

02 Jun 2021

Posted on:

28 May 2021

0

matplotlib can't plot strings for time zone names

Hi,

May i know what does the below mean? I tried to plot with the time zone names, it seems to work.

Thank you

image.png

3 answers ( 0 marked as helpful)
Instructor
Posted on:

31 May 2021

0

Hi Jaycus!

Thanks for reaching out.

Perhaps we are referring to different functionalities/situations. Can you please support your question with the code you've executed as well as a screenshot containing the output you've obtained, so we can discuss?
On our end, we intended plotting data that was stored like strings (['TimeZone']). We'd obtain the following error message:
image.png

Hope this helps.
Best,
Martin

Posted on:

31 May 2021

0

Hi Martin,

Please see below screenshot where i plotted TimeZone against RetailerType, am I suppose to get an error?

Notice that you plotted against SaleID, but in the video was RetailerType, not sure if i did it correctly.

Thank you

image.png





image.png

Instructor
Posted on:

02 Jun 2021

0

Hi Jaycus!

Thanks for your reply.

What you've executed is correct. There's a mistake with the delivery of this video we are currently revising.

Indeed, the problem in our case stems from using 'SaleID', as opposed to data from a different column name.

Thank you very much once again!
Hope this helps.
Best,
Martin

Submit an answer