TL, DR If you ever tried to write a big table in HTML from scratch, you know how much it can be tedious. Fortunately, there are ways to convert data from a Pandas DataFrame to a HTML table with a simple call. Making tables in HTML from Pandas DataFrames HTML is the standard language of… Continue reading Export a Pandas DataFrame to HTML table
Category: Python
Create a Latex table from a CSV files
TL, DR If you ever tried to write a big table in Latex from scratch, you know how much it can be tedious. I wrote a small application leveraging Python Pandas and PySimpleGUI to create a Latex tables from any CSV file. Making tables in Latex from CSV files In a previous post I already… Continue reading Create a Latex table from a CSV files
Transform a Pandas DataFrame to Latex table
TL, DR If you ever tried to write a big table in Latex from scratch, you know how much it can be tedious. Fortunately, there are ways to convert data from a Pandas DataFrame to a Latex table with a simple call. Making tables in Latex from Pandas DataFrames Latex is known as the “gold… Continue reading Transform a Pandas DataFrame to Latex table
Collaborative edit for Jupyter Notebooks
TL, DR Jupyter Notebooks are one of the most common tools for data scientist to explore new challenges and prototype solutions. In most cases, this process is a collaborative one. And since a couple of years, it would be quite common that you will interact with your co-workers remotely. Collaborative edit capabilities for Jupyter Notebooks… Continue reading Collaborative edit for Jupyter Notebooks
Sorting list elements in Python: sort() and sorted()
TL, DR Python lists are a great tool to handle data, and very often you will find useful to sort values in a list. There are two handy built-in methods to do so: sort() and sorted(). They sound similar, but they have quite different effects. Order matters Lists in Python are a great tool to… Continue reading Sorting list elements in Python: sort() and sorted()
Import NA strings in Pandas the right way
TL, DR Pandas has great parsing tools to let you import data from multiple file formats (CSV, Excel, etc…). Sometimes in your data you have “NA” strings that are valid values. However, Pandas default will consider those strings as markers for missing values. Below some option you can use to prevent this default and import… Continue reading Import NA strings in Pandas the right way
Minio, a powerful self-hosted object storage
TL, DR Minio is a powerful open source self-hosted object storage, similar to S3, that you can deploy on your own hardware or cloud instance. You can also deploy it on a Raspberry Pi. It has a comprehensive Python SDK for all operations. Minio Server Minio is a powerful open source software that enables you… Continue reading Minio, a powerful self-hosted object storage
Deta Cloud, a free platform for developers
TL, DR Deta Cloud is a free platform where you can deploy micro-APP. It includes serverless functions, a NoSQL database, and cloud object storage. You can use Python or Node.js to develop and deploy your app for free. Deta Cloud Deta Cloud is a new platform that you can use to deploy small projects. It… Continue reading Deta Cloud, a free platform for developers
Self-updating webpages without refresh using Flask and HTMX
TL, DR Flask Sock and HTMX enable the creation of self-updating webpages that do not need refresh, with minimal dependencies and overhead. This is a solution you can easily implement and deploy for very simple projects. HTMX makes webpages dynamic HTMX is an interesting framework that helps you building interactive and self-updating webpages without other… Continue reading Self-updating webpages without refresh using Flask and HTMX
Google Foobar Challenge level 5 – Expanding Nebula
TL, DR Google Foobar is a hidden coding challenge by Google, and Expanding Nebula is the challenge I solved using Python in order to complete level 5. This post is part of a series on Google Foobar, with all the challenges I encountered. The full series is available here. Getting ready to run The ninth… Continue reading Google Foobar Challenge level 5 – Expanding Nebula