Lesson 4 ❮ Lesson List ❮ Top Page
❯ 4.2 Plotting with pandas
4.5 Multiple Plots with Seaborn
⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺
EXPECTED COMPLETION TIME
❲▹❳ Video 5m 10s
☷ Interactive readings 5m
Every column in a DataFrame can be considered as a Series. It has and DataFrame each have a plot attribute for making some basic plot types.
Series.plot method arguments
label Label for plot legend
ax matplotlib subplot object to plot on; if nothing passed, uses active matplotlib subplot
style Style string, like 'ko--', to be passed to matplotlib
kind Can be 'area', 'bar', 'barh', 'density', 'hist', 'kde', 'line', 'pie'
xticks Values to use for x-axis ticks
yticks Values to use for y-axis ticks
xlim x-axis limits (e.g., [0,10])
ylim y-axis limits
grid Display axis grid (on by default)