less than 1 minute read

Updated:

The value_counts() function in the popular python data science library Pandas is a quick way to count the unique values in a single column otherwise known as a series of data.

This function is extremely useful for very quickly performing some basic data analysis on specific columns of data contained in a Pandas DataFrame.

This article has been copied from a towardsdatascience you should visit the post to check other articles of the author. This post will show you how with a few additions to your code you can actually do quite a lot of analysis using this function.

Comments