Created
July 28, 2021 18:11
-
-
Save DerekHawkins/abe022806d5d497a6c1d94293f5a75ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plotly.graph_objects as go | |
pivot = log_file.pivot_table(index='status_code', values='server_response', | |
aggfunc={'server_response':'count'}) | |
fig = go.Figure(data=[go.Pie(labels=pivot.index, values=pivot.server_response)]) | |
fig.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment