Created
June 17, 2019 15:16
-
-
Save masayuki038/b6de40c08be0c88deee07b4e5a1d0f2f 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 time | |
import pandas as pd | |
%matplotlib inline | |
import matplotlib.pyplot as plt | |
def load_data(): | |
return [{"a": "k1", "b": 2}, {"a": "k2", "b": 4}, {"a": "k3", "b": 5}, {"a": "k1", "b": 15}] | |
l = load_data() | |
df = pd.DataFrame(l) | |
plt.style.use('ggplot') | |
ret = df.rename(columns={'a': 'Epic', 'b': "Story Point"}).groupby("Epic").sum().plot.pie(subplots=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment