Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Funny you should ask. I just wrote a book called Effective Pandas[0] that discusses ways to use pandas (in Jupyter) that leads to easy re-use, sharing, production, testing. Here's a video with many of the ideas if you prefer [1].

People tend to have strong feeling when they see my pandas code as it is different from much of the (bad advice) in the Medium echo chamber. Generally, most who try it out are very happy.

The basics are embrace chaining, avoid .apply, and organize notebooks with functions (using the chain).

Oh, and Jupytext is a life saver if you are someone who uses source control.

0 - https://store.metasnake.com/effective-pandas-book 1 - https://www.youtube.com/watch?v=zgbUk90aQ6A



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: