Jupyter Notebook saves files in
.ipynb
format. It is a JSON with code, Markdown, and outputs. There are many cases in which we would like to convert Jupyter Notebook to plain Python script. For example, you would like to keep Python code in the repository or would like to turn your notebook into a standalone package. I will show you 3 ways to export the Jupyter Notebook file to Python script.
-
Convert Jupyter Notebook to Python script in 3 ways
November 10, 2022 by Aleksandra Płońska, Piotr Płoński Jupyter Python Nbconvert
-
Complete list of 594 PyTZ timezones
November 08, 2022 by Aleksandra Płońska, Piotr Płoński Python
The
pyTZ
package is a Python implementation of the tz database. You can usepyTZ
to list all available timezones from thetz database
but not only. Below is a list of all available timezones inPyTZ
. It is in total 594 timezones. -
Automated PDF Reports with Python
June 20, 2022 by Piotr Płoński Python Report Pdf
Python is a great tool for automation, almost magical. In this article I will show you how to build automated reporting system with Python. The system will create a daily PDF report and send it via email. I will use Python notebook (with
Jupyter Notebook
) andMercury
framework for PDF generation, scheduling and email sending. -
Dashboard for Data Drift Detection in Python
June 14, 2022 by Aleksandra Płońska, Piotr Płoński Python Dashboard Datadrift
Change is the only constant in life - Heraclitus quote is so relevant in the Machine Learning world. The ML models that are running in the production need to be monitored. Why? Because data can change in time, leading to wrong predictions. The change in data distribution is so-called a data drift. I will show you how to build a dashboard for data drift detection in Python. I will use
Evidently
Python package for detecting data drift and building a dashboard in the Jupyter Notebook. The dashboard notebook will be published as a web application with theMercury
framework. -
How to create a dashboard in Python with Jupyter Notebook?
June 08, 2022 by Aleksandra Płońska, Piotr Płoński Python Dashboard
Would you like to build a data dashboard in 9 lines of Python code? I will show you how to create a dashboard in Python with Jupyter Notebook. The dashboard will present information about stock for selected ticker (data table and chart). The notebook will be published as a web application. I will use an open-source
Mercury
framework to convert Python notebook to interactive web application. -
How to send email in Python? (the simplest approach)
June 08, 2022 by Aleksandra Płońska, Piotr Płoński Python Email
Sending emails from Python code is simple. It can be used for automation and notification apps. In this article we will create
send_email()
function that will simplify the email sending. We will use Python built-in packagessmtplib
andemail
. Let’s start sending emails with Python! -
4 ways to install Jupyter Notebook
June 07, 2022 by Aleksandra Płońska, Piotr Płoński Jupyter Python
Jupyter Notebook is a powerful tool that can mix code and Markdown. It provides fast feedback for code snippets execution which makes it perfect for data analysis and experimenting. It is a development environment of choice for many data scientists, machine learning practitioners, and software developers. In this article, we will check different ways how to install Jupyter Notebook on your local machine.
-
Develop NLP Web App from Python Notebook
February 23, 2022 by Piotr Płoński and Aleksandra Płońska Python Spacy Mercury
Natural Language Processing (NLP) is a scientific field working on interactions between computers and human written language. The machines are programmed and taught to understand the text and extract information.
-
Build Computer Vision Web App with Python, OpenCV and Mercury
February 21, 2022 by Piotr Płoński and Aleksandra Płońska Python Opencv Mercury
Computer Vision methods provide great flexibility for images processing. For example, you can easily write a computer program for converting any photo to an artistic sketch. In this article I will show you:
-
Python Virtual Environment Explained
October 29, 2021 by Piotr Płoński Python Virtual environment
Have you ever messed with Python packages? Have you ever had problems running someone else script because of broken dependencies? Would you like to know why and how to fix it? In this article, we explain how does Python virtual environment work.