This file contains 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 json | |
from dataclasses import dataclass | |
from dataclass_csv import DataclassWriter | |
@dataclass | |
class Film: | |
""" Bare-bones class representing a film. """ | |
name: str | |
distributor: str |
This file contains 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 matplotlib.pyplot as plt | |
import pandas as pd | |
import seaborn as sns | |
data: pd.DataFrame = pd.read_csv("results.csv") | |
sns.violinplot(data=data, x="Framework", y="Energy (J)", order=["ASP.NET Core", "Actix", "Express", "Django", "Laravel"], scale="width") | |
plt.savefig("vioplot.png") | |
data.groupby("Framework").describe() |
I hereby claim:
- I am olepbr on github.
- I am olepbr (https://keybase.io/olepbr) on keybase.
- I have a public key whose fingerprint is E7A0 45DF 5259 0C4D BADC 5215 E304 8812 E4DB 74E0
To claim this, I am signing this object: