Loading tutorials
DataFrame.plot turns a table into a chart with one call. This chapter covers what that call does by default, how it chooses what to draw, and the first errors you are likely to hit. Later chapters cover chart types, styling, and finer control.5 min readDataFrame.plot decides what to draw on each axis. It assumes you can build a DataFrame, select columns, and run matplotlib in your environment. The behavior here applies to the default line chart and carries over to most other chart types. Scatter and pie plots add rules 5 min readplot on it. You should also have matplotlib installed. The previous chapter covered how the index and the x and y arguments map onto the axes. Here you choose what kind of chart is drawn from those axes.5 min readdf.plot() puts the index on the x axis and draws one series per numeric column.4 min readgroupby. It also assumes matplotlib is installed and that you know how set_index moves a column onto the index (covered earlier in this tutorial). Here you will draw three kinds of bar chart and learn how pandas decides wha4 min readdf.plot with kind or the df.plot.<kind> accessors from earlier chapters. Matplotlib must be install6 min readdf.plot with x, y and kind. It also assumes matplotlib is installed. Here you will draw scatter plots with kind="scatter" and encode a third and fourth variable with marker size and color.4 min readDataFrame.plot that change how a chart looks without changing what it shows. It assumes you can build a DataFrame, you know how set_index and kind choose the axes and chart type (earlier chapters), and matplotlib is installed.4 min readDataFrame.plot draws a chart in one call, but it also returns an object you can keep working with. This chapter shows what that object is, how to use it to customize a chart, how to aim a chart at an axes you already created, and how to save the result to a file.5 min readsubplots=True gives each column its own panel, how to arrange the panels, a5 min readDataFrame.plot draws what it is given. If you pass it 10,000 order rows, it draws 10,000 points or bars. Most charts you want show a summary instead: revenue per region, orders per category, average score per month. This chapter covers how to build that summary and hand it to plot.4 min readdf.plot() with the default line chart. You should also know how the index maps to the x axis. Matplotlib must be installed.4 min readdf.plot() with kind, x, y and set_index. It also assumes you know that plot returns a matplotlib Axes. Most plotting failures fall into three groups: pandas finds no numbers to draw, the data has gaps, or the labels4 min readdf.plot with kind, x and y, and use the returned Axes from the earlier chapters. It covers three things. The first is what a plotting backend is and how to switch one. The second is what a backend changes and what it does not. The third is6 min read