Skip to content

Instantly share code, notes, and snippets.

@andrea-dagostino
Created July 7, 2022 09:39
Show Gist options
  • Select an option

  • Save andrea-dagostino/f8e102e3c7018c70a408c3591ea23e94 to your computer and use it in GitHub Desktop.

Select an option

Save andrea-dagostino/f8e102e3c7018c70a408c3591ea23e94 to your computer and use it in GitHub Desktop.
edaeng
df.target.value_counts().plot(kind="bar")
plt.title("Value counts of the target variable")
plt.xlabel("Wine type")
plt.xticks(rotation=0)
plt.ylabel("Count")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment