Love using Jupyter notebooks, but after a while, they look like a...

What if I told you there is a quick, simple, and efficient way to make them tidy and shiny?
These 3 tips will help you keep your notebooks clean and boost your productivity ๐โ
They are the faster way to
โ add code
โ fix code
โ re-run code
for your Machine Learning project.
However, they quickly turn into a mess...
... unless you follow these 3 tips.
If you do not encapsulate your code, you are doomed to duplicate it.
And code duplication is both a productivity killer and an endless source of bugs.
The solution:
โ Define functionality ONCE.
โ Call it as many times as you need
Often you have the same function defined in several notebooks. Which is, again, code duplication.
To solve this create a source code folder (aka src/) at the same level where your notebooks are...
โ Reduce code duplication, by encapsulating and extracting common functionality into separate functions under src/.
โ Add autorelaod magic to your notebook, to keep it in sync with your src/ code.
And Voila!
โ Follow me @paulabartabajo_
Wanna help me spread the word?
โ Like/Retweet the first tweet below โโโ

What if I told you there is a quick, simple, and efficient way to make them tidy and shiny?
These 3 tips will help you keep your notebooks clean and boost your productivity ๐โ
A Discord community of ML builders ๐ฉโ๐ป๐จ๐ฝโ๐ป focused on building ๐ฟ๐ฒ๐ฎ๐น-๐๐ผ๐ฟ๐น๐ฑ ๐ ๐ ๐ฎ๐ฝ๐ฝ๐
โโโ
serverless-ml.carrd.co


