A pie plot is a proportional representation of the numerical data in a
column. This function wraps matplotlib.pyplot.pie() for the
specified column. If no column reference is passed and
subplots=True a pie plot is drawn for each numerical column
independently.
Parameters:
yint or label, optional
Label or position of the column to plot.
If not provided, subplots=True argument must be passed.
In the example below we have a DataFrame with the information about
planet’s mass and radius. We pass the ‘mass’ column to the
pie function to get a pie plot.