Have you ever forgotten to assign the results to a variable in Jupyter? Rather than recomputing the result by rerunning the cell, here are three ways to retrieve the output.
1️⃣ Use the underscore followed by the output-cell-index.
2️⃣/3️⃣ Use the 𝐎𝐮𝐭 or _𝐨𝐡 dict and specify the output-cell-index as the key.
Share this post on LinkedIn: Post Link.
Find the code for my tips here: GitHub.
I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn.