TL, DR Alpha Vantage is a free API where you can get financial markets data. It provides you stocks, Forex, and cryptocurrency data feed, as well as many technical and economic indicators. You can get a free API key at this link. You can get higher limits for API utilization by holding Alpha Vantage Coins… Continue reading Alpha Vantage API: Free financial markets data
Author: randomds
Pandas: Convert list to dummies
TL, DR Sometimes you may have a list in a Pandas DataFrame column and you are looking to get individual dummy columns for further elaborations. Here a very short guide about how to convert a list to individual dummies. From list to dummies In many cases during data exploration and wrangling you will find that… Continue reading Pandas: Convert list to dummies
Keep your Ubuntu software updated
TL, DR In many cases you will use an Ubuntu machine, either as a server or Personal Computer. It’s very important you keep your Ubuntu software updated, both for the packages you installed via apt and your snaps or flatpaks. Below you can find a few commands to do this. Software is everywhere You have… Continue reading Keep your Ubuntu software updated
Scrapy: Select elements containing a specific text
TL, DR Scrapy is one of the top frameworks for web scraping in Python. Often you need to select some element where you already know part of its text. This post shows you how to select elements containing a certain text with CSS and XPATH selectors. How to select elements containing a certain text in… Continue reading Scrapy: Select elements containing a specific text
Call an API from PyScript
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
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