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
) and Mercury
framework for PDF generation, scheduling and email sending.
MLJAR's Blog
-
Automated PDF Reports with Python
June 20, 2022 by Piotr Płoński Python Report Pdf
-
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.
-
Build dashboard in Python with automatic updates and email notifications
June 06, 2022 by Aleksandra Płońska, Piotr Płoński Jupyter Dashboard
Do you need to monitor data from multiple sources and act based on their values? If you answered yes, then it means that you need a dashboard. I will show you how to create a dashboard in Python. It will automatically update the values in the dashboard and send email notifications based on monitored values. The dashboard will be deployed to the Amazon AWS cloud service.
-
4 ways to insert images in Jupyter Notebook
May 30, 2022 by Aleksandra Płońska, Piotr Płoński Jupyter
You are building your notebook and would like to make it more informative and attractive with the inserted image. How to do this? In this post, I will show different approaches to inserting an image into Jupyter Notebook.
-
How to hide code in Jupyter Notebook?
May 30, 2022 by Aleksandra Płońska, Piotr Płoński Jupyter
Your analysis is ready. You would like to share results from Jupyter Notebook with non-technical users. You have to hide the Python code to not scare them. There are several ways in which it can be achieved.
-
4 ways to export Jupyter Notebook as PDF
May 28, 2022 by Aleksandra Płońska, Piotr Płoński Jupyter
Have you ever wanted to export your Jupyter Notebook to PDF file? The PDF is an abbreviation for Portable Document Format. It can be displayed on any operating system. That makes it format of choice for many who wants to share their results. In this post I will show you 4 different ways how to export Jupyter Notebook as PDF file.
-
How to share Jupyter Notebook with non-programmers?
May 27, 2022 by Aleksandra Płońska, Piotr Płoński Jupyter
Your analysis is ready. You found very important insights. Congratulations! What’s next? You need to share your Jupyter Notebook with non-programmers. How to do this? You can’t send them the
ipynb
file in the email attachement or just push it to the GitHub repository. Your peers don’t understand Python and can’t reproduce your work on their own computers. You can create a presentation for them. This can be tedious manual work that might require many updates if data and final results will changes. What to do? Don’t worry! In this post, I will show you how to share Jupyter Notebook with non-programmers.