I wanted to do some EDA on the data set of my ML project. I'm trying to make a distplot out of the DataFrame X_train and column business_year.
MyCode:
sns.distplot(X_train['buisness_year'])
I'm supposed to get 2019 and 2020 as the two x-axis values but instead I'm getting this:
The buisness_year column:
7106 2019.0
11451 2019.0
39750 2019.0
27629 2020.0
20892 2019.0
...
1710 2019.0
18852 2019.0
6540 2019.0
35400 2019.0
6027 2019.0
Name: buisness_year, Length: 23494, dtype: float64
How do I fix so that I get business years in the x-axis?