Statistics, Probability, Exploratory Data Analysis, Mathematics, Graph.
np.round(df.iloc[:15,0],0) 0 8.0 1 8.0 2 7.0 3 6.0 4 4.0 5 4.0 6 4.0 7 3.0 8 2.0 9 4.0 10 3.0 11 3.0 12 3.0 13 3.0 14 2.0 Name: 0, dtype: float64 subset = df.iloc[:15,0] subset = np.round(subset,2) #Note: This returns pandas dataframe not numpy array# Difference between KDE and Histogram:- For that