Search this site
Embedded Files
AIMD GPDS Courses
  • Home
  • Courses
  • Contact
AIMD GPDS Courses
  • Home
  • Courses
  • Contact
  • More
    • Home
    • Courses
    • Contact

日本語  ❯

Lesson 4    ❮    Lesson List    ❮    Top Page

4.1  Intro to matplotlib

❯  4.2  Plotting with pandas

4.3  Styles of Visualization

4.4  Advanced Filtering

4.5  Multiple Plots with Seaborn

⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺
EXPECTED COMPLETION TIME
❲▹❳  Video   5m 10s
☷  Interactive readings   5m

Plotting Series using Pandas

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)

©2023. All rights reserved.  Samy Baladram,
Graduate Program in Data Science - GSIS - Tohoku University
Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse