blob: 60f87163365accd0d0da4e4c2da7d6aa29e1114e [file] [log] [blame]
# The following example shows the relationship between both
# populations.
df = ps.DataFrame({'pig': [20, 18, 489, 675, 1776],
'horse': [4, 25, 281, 600, 1900]},
index=[1990, 1997, 2003, 2009, 2014])
df.plot.line(x='pig', y='horse') # doctest: +SKIP