July 2017
Beginner to intermediate
312 pages
7h 27m
English
In the first comparison, we pick forks and open issues and we show them on a chart.
x = df['forks'] y = df['open_issues']
We create a plot where forks will be shown on x axis and open issues on y axis. The colors indicate technologies:
We will follow the same color code in the next examples:
fig, ax = plt.subplots() colors = dict(zip(set(df['technology']), ['red', 'blue'])) ax.scatter(x=x, y=y, c=df['technology'].apply(lambda x: colors[x]), s = 200, alpha = 0.5)
There are two additional parameters that we use to obtain prettier results:
We add plot descriptions such as title, x axis label and y axis label:
ax.set(title='Deep ...
Read now
Unlock full access