Using TA-Lib in Deepnote

  • by
  • 2 min read

Using TA-Lib in a Jupyter notebook isn’t straightforward, and using it in a hosted solution like Deepnote could use a tutorial too. In this blog post, we’ll set up the popular Python wrapper for TA-lib. A prerequisite for installing the TA-lib Python wrapper is that you have the TA-lib library… 

Track ‘Dark Theme’ in Google Analytics 4 (GA4 and GTM)

  • by
  • 2 min read

In this blog post, we’ll use media queries particular user (device) properties using Google Tag Manager and Google Analytics 4. Some JavaScript knowledge is not a luxury. Using media queries, developers can personalize their app or website based on device and personal preferences by the user. Using the matchMedia method… 

Solve Pandas “ValueError: cannot reindex from a duplicate axis”

Recently, I’ve been working with Pandas DataFrames that had a DateTime as the index. When I tried reindexing the DataFrame (using the reindex method), I bumped into an error. Let’s find out what causes it and how to solve it. The Python error I’m talking about is: A “duplicate axis”?… 

How to read ZIP files in R

In this blog post I discuss how you can load compressed CSV files, such as .zip and .tar.gz. Nowadays, many packages support it and we’ll go over the different methods. When data sets are ping-ponged across an organization, in order to limit network and storage usage, they often come in…