Is the output of 'value_counts' function a series or a dataframe in pandas?

The output of the value_counts function in pandas is a Series. It returns a Series containing counts of unique values in a specified column or Series.

0 Comments

no data
Be the first to share your comment!