Skip to content

Instantly share code, notes, and snippets.

@Ze1598
Created May 4, 2020 15:09
Show Gist options
  • Save Ze1598/08317ad1706e30fe6c672b3ad6a02f4b to your computer and use it in GitHub Desktop.
Save Ze1598/08317ad1706e30fe6c672b3ad6a02f4b to your computer and use it in GitHub Desktop.
Handle Categorical data with pandas (str): usage
options = ["terrible", "bad", "so-so", "good", "excellent"]
map_options = [1, 2, 3, 4, 5]
evaluations = create_evaluations(options, map_options, 200)
plot_column_chart(
evaluations,
options,
"Evaluations' frequency",
["Evaluations", None],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment