Examples
Information about planet’s mass and radius:
Here we pass the the ‘mass’ column to the pie function to get a pie plot.

In [1]:
import numpy as np
import pandas as pd
In [4]:
df = pd.DataFrame({'mass': [2.87, 5.97, 6.00],
                   'radius': [6051.8, 6378.1, 71492]},
                  index=['Venus', 'Earth', 'Jupiter'])
plot = df.plot.pie(y='mass', figsize=(5, 5))
In [3]:
plot = df.plot.pie(subplots=True, figsize=(6, 4))