Mad Science: Polyglot Bridges
26
-
Upload
awwaiid -
Category
Technology
-
view
570 -
download
0
Transcript of Mad Science: Polyglot Bridges
require 'rubypython'RubyPython.startplt = RubyPython.import('matplotlib.pyplot')
# The 'left' slices it down to year-monthorder_counts = Order .group("left(created_at, 7)") .count .values
plt.plot(order_counts)
plt.show