Created
January 15, 2022 21:52
-
-
Save yairst/872172f321e854ad839d440cfa19753c to your computer and use it in GitHub Desktop.
Approximated dynamic burn rate based on resampled total number of events in the SLO period
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
| df['aprox dynamic burn rate'] = df['total_hits_last_28_days_resampled'] / (df['hits']) * (EBP / 100) | |
| fig, ax = plt.subplots(figsize=(16, 5)) | |
| df_sample.plot(x='date',y='hits', ax=ax, logy=True) | |
| df_sample.plot(x='date',y='dynamic burn rate', ax=ax, logy=True) | |
| df_sample.plot(x='date',y='aprox dynamic burn rate', ax=ax, logy=True, linestyle='--') | |
| ax.grid() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment