I am trying to plot distribution graph in python using seaborn
. But I am getting error which I am not able to solve given below.
Code:
sns.distplot(df['nn'])
Error:
cannot convert float NaN to integer
Is there any efficient way to solve this by plotting histogram and the distribution?