Why am I not getting correct image here

Too many variable to show, try to sort the values and show only top 10.

1 Like

Use rf2_importance_df.head(10)

1 Like

add a plt.figuresize as well. place it before the barplot line

plt.figure(figsize=(x, y))