TL, DR PyScript is a new and cool piece of technology that let you use Python in the browser. In this tutorial we will call an API from PyScript and display the result on our webpage. More tutorials on PyScript to come! How to make HTTP requests from PyScript to an external API? PyScript, a… Continue reading Call an API from PyScript
Category: Python
PyScript REPL in a webpage
TL, DR PyScript is a new and cool piece of technology that let you use Python in the browser. In this tutorial we will embed a PyScript REPL in a webpage. More tutorials on PyScript to come! Embed a PyScript REPL in a webpage Python is famous for running everywhere. Jupyter Notebooks enabled professionals and… Continue reading PyScript REPL in a webpage
Export a Pandas DataFrame to HTML table
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
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