Article Directory
Pivot
View part of the data
data visualization
Pandas data visualization uses matplotlib as the basic component. For more basic information, please refer to matplotlib related content.
// An highlighted block
%matplotlib inline
import pandas as pd
import numpy as np
Linear graph
One-dimensional data
Two-dimensional data
Subgraph
Keep the ordinate of the subgraph consistent
Specify index value
id is the x-axis, and the y-axis is "A, C"
Histogram
Histogram of a row
Histogram of all data
Data stacking
Histogram
Histogram at a certain coordinate
Subgraph
Data stacking
Probability density plot
Scatter plot
Pie chart
autopct percentage font size fontsize colors colors