Home » how to

how to

Event deduplication for Facebook’s Conversions API using server-side GTM

  • by
  • 4 min read

Facebook is betting big on its Conversions API to counter Apple’s privacy game. It leaves one wondering why there documentation is so poor. In this blog post, I describe how you can set up proper event deduplication when using both the Facebook pixel and the Conversion API. 💥 This blog… 

Solve Pandas read_csv: UnicodeDecodeError: ‘utf-8’ codec can’t decode byte […] in position […] invalid continuation byte

  • by
  • 2 min read

Reading CSVs is always a little bit living on the edge, especially when multiple regions are involved in producing them. In this blog post, we’re solving UnicodeDecodeError: ‘utf-8’ codec can’t decode byte […] in position […]: invalid continuation byte. Important, I’m assuming you got the error when you used Pandas’… 

Subsetting a Pandas DataFrame using multiple conditions, Part 1: Bitwise operators

  • by
  • 2 min read

This blog post is the first post in a two-part series on subsetting Pandas DataFrame rows using chained conditions. In this post, we tackle the following ValueError. Part 1: Bitwise operators Part 2: Parentheses Filtering (or subsetting) a DataFrame can easily be done using the loc property, which can access… 

Subsetting a Pandas DataFrame on multiple conditions, Part 2: Parentheses

  • by
  • 2 min read

This blog post is the second post in a two-part series on subsetting Pandas DataFrame rows using chained conditions. In this post, we tackle the following TypeError. Part 1: Bitwise operators Part 2: Parentheses Filtering (or subsetting) a DataFrame can easily be done using the loc property, which can access…