count of distinct values in each column of pandas dataframe

Pandas – Count of Unique Values in Each Column

Generally, the data in each column represents a different feature of a pandas dataframe. It may be continuous, categorical, or something totally different like distinct texts. If you’re not sure about the nature of the values you’re dealing with, it might be a good exploratory step to know about the count of distinct values. In […]

Pandas – Count of Unique Values in Each Column Read More »