Guided Project - Exploring Hacker News Posts

Hi all,

This is the first time I’m uploading a project on the DQ community.
Please find my project in the below link.

Any kind of feedback on the coding and how to make it better is greatly appreciated.

https://app.dataquest.io/m/356/guided-project%3A-exploring-hacker-news-posts/8/next-steps

Basics.ipynb (19.2 KB)

Click here to view the jupyter notebook file in a new tab

Welcome to DQ Community @EC89

Cool project! :ok_hand: would just suggest one thing.

Try to use a different code cell when you wish to print results of a variable which has reasonable length.

like instead of print(comments_by_hour) in separate code cell just use comments_by_hour. That way the dictionary would print as:

{key1 : value1,
 key2 : value2,
 ...
 keyN : valueN}
1 Like

Hello @EC89

Fantastic! I particularly learned from your project that it is best to use markdown cells to carry readers along. Thumbs up…
I would like to suggest you use the pytz package to change the time zone automatically.

Thank you.

2 Likes

Thanks Rucha, appreciate you going through the code. And thanks for the advice on improving its readability! :slight_smile:

1 Like

Hello Lawal, glad that there was something you could take away from it. Thanks for the tip on pytz package for time zone adjustments :fist_right:

1 Like

You are welcome @EC89