I look into the “Your Top Songs 2020” playlist generated by Spotify last year and put it in Python. Here’s what I found so far about my music taste.

Photo by Mohammad Metri on Unsplash

You probably notice that at the end of the year, your friends would post their top artists and top songs on Spotify from that year to their social media. I did. Whether you liked your friend's music taste (or thought your friends have no taste), you couldn’t help but see #SpotifyWrapped everywhere.

In case you’ve never used Spotify and are not familiar with #SpotifyWrapped, basically, it’s a Spotify feature released at the end of each year to show you a deep dive look into your most memorable listening moments of the year. Additionally, they also generated a playlist of your…


A simple tutorial on handling time series data in Python from extracting the dates and others to plotting them to charts.

Image by Burst from Pexels.com

Handling time series data can be a bit tricky. When I first had to deal with time-series data in Python and put them into charts, I was really frustrated. I probably spent a whole day just trying to figure out how to extract the dates or the months from a series of timestamp data, and at the end of the day, I still didn't understand a lot of things.

Then when I had to transform these data into charts using libraries like matplotlib or plotly, it only added more confusion to me. …


How to find out your Netflix viewing patterns using your own Netflix data for fun.

How does your Netflix homepage look like? Here’s mine.

Previously, I have written a simple tutorial on visualizing your Netflix viewing activity by downloading the history file (.CSV) from your own account. The article can be viewed here. Now I want to go further by requesting more data from Netflix.

As I have said on my previous article, I have requested a more complete data on my account on 26 June, and finally by 20 July I finally got it! Yay! And yes it took me quite a long time to finish writing this article.

Unluckily, the data sets are not exactly what I expected. I kind of…


Let me start this post by stating that this is my first post on Medium, s̶̶̶o̶̶̶ ̶̶̶b̶̶̶e̶̶̶ ̶̶̶p̶̶̶r̶̶̶e̶̶̶p̶̶̶a̶̶̶r̶̶̶e̶̶̶d̶̶̶ ̶̶̶f̶̶̶o̶̶̶r̶̶̶ ̶̶̶a̶̶̶n̶̶̶ ̶̶̶a̶̶̶w̶̶̶f̶̶̶u̶̶̶l̶̶̶ ̶̶̶s̶̶̶h̶̶̶i̶̶̶t̶̶̶ ̶p̶̶̶o̶̶̶s̶̶̶t̶̶̶ ̶̶̶b̶̶̶y̶̶̶ ̶m̶̶̶e̶̶̶.̶

A glimpse on my recent Netflix profile viewing activity

Netflix subscribers probably know that they can see their viewing activity on each profile in their account. You can find it on ‘Viewing activity’ under each profile when you click on ‘Account’ from the home page. When I first came across this page, I wonder what I can do with this simple information of my viewing activity which only consists of date and the title of the shows/movies. There’s not much that you can do about it, but I am curious anyway, so let’s see what I can do with this data.

Troy and Abed agreed

I came up with…

Lia Ristiana

I write about python programming and data science | catriscode.wordpress.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store