The pie plot representation is the proportional representation of the numerical data in the column. The function will wrap matpotlib.pyplot.pie() for specific column. If no column is passed and the subplot is true pie plot is drawn for each numerical column. The example below has data frame information about the planet mass and the radius. We pass the mass column to pie function to get pie plot. The pie chart will show static number and how to represent part of whole composition of something.
Pie chart represents the number in percentage and total sum of all segments need to equal 100%.
Fig:-Plot=df.plot.pie(subslots=True,figsize=(6,3))