How has violence been growing in Rio de Janeiro?

Rio de Janeiro, also known as the Wonderful City, is the most famous place in Brazil. It is also one of the favourites by tourists worldwide.

Rio is well known for its Carnaval, beaches, soccer, food, Christ the Redeemer statue, music and friendly people. Copacabana Beach at Rio plays host each New Year’s Eve to Reveillon, the world’s largest and wildest New Year’s celebration.

Sadly, besides its beauty, Rio has been getting more and more dangerous. Cops work hard to protect the population. However, Rio has been getting way too polarized. Some people tend to ignore cop’s mistakes, and others…


Why You Shouldn’t Use Pie Charts and How To Replace Them.

Pie charts are one of the most popular types of visualization people use daily. However, it is also one of the worse, to say the least.

Do not use charts named after foods.

You might be wondering “Oh my Gosh, how come the most popular chart is the worse?”.

I know, I know. Pies are indeed delicious. However, they aren’t as good when it comes to data visualization.

Before We Start

Do not forget to follow me on my GitHub and LinkedIn accounts. I love to write about Data Science and to share cool stuff with people on the internet.

Why You Shouldn’t Use Pie Charts

Usually, pie charts…


From a worldwide, Canadian and Brazilian perspective

In December 2019, the whole world heard about a new pneumonia outbreak happening in Wuhan, China. A few days later, scientists found out that China was not dealing with pneumonia. Instead, it was a coronavirus, named Sars-Cov-2 and later Covid-19.

No one expected it to become a problem like it is nowadays, when I first heard about Covid, in the beginning of January, I was backpacking with my family in Central America, I didn’t think it would become a thing. However, here we are, in a pandemic in which businesses had to close, over 2.57M …


An intro to Pandas Profiling.

Before we start

Do not forget to follow me on my GitHub and LinkedIn accounts. I love to write about Data Science and to share cool stuff with people on the internet.

Easing your EDA

How about having an easier way to start your Exploratory Data Analysis (EDA) and make data reports that give you great insights? Sounds nice, eh?

With Pandas Profiling, that is possible.

You might be asking yourself what Pandas Profiling is. No, it’s not a bunch of Chinese pandas computing data.


Understanding the Airbnb situation in Toronto by analyzing data handled for free by the company itself.

Goal of the Project

  • Understand the popularity of Airbnb in Toronto.
  • Analyze the most expensive areas, most popular types of rooms, reviews and price/night average.
  • Show some of the Airbnb Legal Issues in Toronto.
  • Teach how to handle missing data and outliers.

Before we start…

If you want to see the full code and understand the methods I used to get my results, make sure to check the notebook for this project on Google Colab, also make sure to follow me on LinkedIn and GitHub.

Introduction to Airbnb

Airbnb is the biggest hotel franchise in the world, the interesting part about it is that they have no hotels at all!


Easier than ever

Data Scientists often have to deal with information contained in PDF’s, although some of them will just copy and paste the data they need, this is a terrible practice, not to say the slowest and least effective way to work in the longterm and depending on the PDF it may not even be possible to do so.

Before we start, thanks to Carlos Melo — Sigmoidal for allowing me to use fake PDF reports created for his Data Science course, in which I am a student and love it very much. …


The best option to be used as a data science notebook

The world of Data Science is full of infinite features and technologies, it is almost impossible to learn every single one of them, many beginners in the world of data science are discouraged by the amount of stacks and tools available in the market. Even experienced Data Scientist some times don’t know which tool exactly to use, many of them don’t even know Google Colab, a simple but powerful option for your notebooks.

Okay, but what is Colab? According to Google:

“Colab is a product from Google Research, it allows anybody to write and execute arbitrary python code through the…

Vinicius Porfirio Purgato

I’m a data scientist who loves to teach, learn and share my knowledge.

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