It's on GitHub: https://github.com/ycui1/Medium_Python_Tutorials/blob/master/pandas_sort.py
What's the traffic data? I was using the flights data, and the read_csv use a link to the file, and you should be able to get it without any issues.
Please don't hesitate to let me know if you have an issue.