I just finished the hacker news guided project but I have encountered a problem in my code. My
sorted_swap list sorted the average comments per post per hour partially and by that I mean it sorted (9.41-5.58) and then (38.59-10.09). I have done this project in a separate jupyter notebook with the full dataset and encountered the same issue. Can anybody help me with this code please?
I have attached both notebooks here:
Basics.ipynb (11.7 KB)
Hacker News Analysis.ipynb (11.3 KB)
Click here to view the jupyter notebook file in a new tab