Loading tutorials
DataFrame.plot decides what to draw on each axis.2 min readdf.plot() draws one line per numeric column, using the index as the x axis.2 min readset_index and x/y arguments from the previous chapters, and that matplotlib is installed.2 min readplot with the kind argument. It also assumes matplotlib is installed. Bar charts compare values across categories, so the category labels must sit on the index or in a column you name with x.2 min readdf.plot with a kind argument. Matplotlib must be installed. Distribution charts show how values spread out, instead of how they change over time or differ by category.2 min readdf.plot with kind or the df.plot.<kind> accessors. Matplotlib must be installed.2 min readdf.plot(), and choose a chart type with kind. It covers the arguments that make a chart readable: title, axis labels, colors, figure size, and legend. Matplotlib must be installed.2 min readdf.plot with kind, and that you know what a pandas index is. You also need matplotlib installed. Here you will learn what plot returns, how to use it for finer control, and how to write a chart to a file.2 min readdf.plot(), know how set_index moves a column onto the x axis, and have matplotlib installed. By the end you will be able to give each column its own panel, arrange the panels in a grid, and control which axes are shared.2 min readgroupby in pandas. It also assumes matplotlib is installed. Raw rows rarely make a good chart. A table of 10,000 orders gives 10,000 points, but a chart of revenue per region needs one number per region. So you summarize firs2 min readdf.plot(), and know how set_index maps the index to the x axis. When the index holds dates, pandas treats the x axis as time. It spaces points by real elapsed time and picks readable tick labels.2 min readdf.plot with kind, x and y. Most plot failures come from three causes: columns that are not numeric, missing values, and crowded tick labels. Each is quick to diagnose once you know what to look for.2 min readdf.plot, and use the returned matplotlib Axes from earlier chapters. It covers what happens behind plot, how to switch the engine, and when to stop using df.plot.2 min read