How to Publish a Jupyter Notebook as a Medium Blogpost

How to Publish a Jupyter Notebook as a Medium Blogpost

Discover how to publish a Jupyter Notebook as a Medium article with the jupyter-to-medium library. I have recently started writing about Data Science and Python on Medium.

I have recently started writing about Data Science and Python on Medium. One of the time taking activity when writing any technical articles is to provide the supporting reproducible code. I have been using GitHub Gist and sometimes a screenshot of the code from Jupyter Notebook or other Python editor. But it all takes time as we need to toggle between Medium editor and Gist or other Python editor.

How about if we can directly import Jupyter Notebook to Medium as a draft? Yes!! That’s possible with the help of the **jupyter-to-medium** library which is released recently. Now, we can start writing stories using Jupyter notebook and we can quickly import to Medium as a draft story. Then make the necessary changes and then submit the publication.

_The author _Ted Petrou_ says__ — I’ve [published dozens of blog posts on Medium_](http://medium.com/dunder-data)_ myself with all of them beginning as Jupyter Notebooks. Manually converting them to Medium posts was a fairly lengthy, painstaking process. One particularly painful process was inserting tables, which Medium does not support, into my posts. Nearly all of my posts contain numerous pandas DataFrames ([such as this one_](https://medium.com/dunder-data/selecting-subsets-of-data-in-pandas-6fcd0170be9c), which has 40! DataFrames) which are represented as HTML tables within a notebook. I’d take screenshots of each one to insert them into my Medium posts.

Installation

pip install jupyter_to_medium

After the installation, confirm by checking the extension as below. If it’s not showing up, you may restart the Jupyter notebook and also try running the below command to manually enable the extension.

jupyter jupyter-notebook programming medium data-science data science

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Why Jupyter Notebooks are the Future of Data Science

Why Jupyter Notebooks are the Future of Data Science. How Jupyter Notebooks played an important role in the incredible rise in popularity of Data Science and why they are its future.

Data Science Course in Dallas

Become a data analysis expert using the R programming language in this [data science](https://360digitmg.com/usa/data-science-using-python-and-r-programming-in-dallas "data science") certification training in Dallas, TX. You will master data...

50 Data Science Jobs That Opened Just Last Week

Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments. Our latest survey report suggests that as the overall Data Science and Analytics market evolves to adapt to the constantly changing economic and business environments, data scientists and AI practitioners should be aware of the skills and tools that the broader community is working on. A good grip in these skills will further help data science enthusiasts to get the best jobs that various industries in their data science functions are offering.

Applications Of Data Science On 3D Imagery Data

The agenda of the talk included an introduction to 3D data, its applications and case studies, 3D data alignment and more.

5 Jupyter Notebook Extensions For A Fully Organized Data Science Project

5 Jupyter Notebook Extensions For A Fully Organized Data Science Project. In this article, I am going to share the Jupyter notebook extensions I use everyday while working on a project.