snowpark_df .group_by("TARGET").count().to_pandas().set_index("TARGET") .plot.bar() plt.title("Target distribution",fontweight='semibold') plt.show()