Types Of Plots for Discrete Data
So I have a lot of discrete variables in my dataset and want to visualize them (univariate for now). I went through various articles over the internet and it is suggested that histograms and count plots are apt choices for plotting discrete data. Many of the discrete variables in my dataset have 500+ unique discrete values and when I plot them on a histogram it is taking a lot of time to show my any output. So is my approach correct?, can we actually plot these many unique valued discrete variables using a histogram? or do you suggest any other type of plot for the same?
Edit : Just got the output for a variable with 400+ discrete values and the histogram (sns.histplot) is empty, the x and y axis are visible but there are no bars in the histogram. Why would that be?
I have attached a reference photo of my column with the value_counts() function's output. There are about 400 discrete values
Topic matplotlib python-3.x seaborn machine-learning
Category Data Science