text_plain_output_1.png
import pandas as pd

fruits = pd.DataFrame({'Apples': [30, 50, 40], 'Bananas': [21, 10, 15]})
fruits

fruits_1 = pd.DataFrame({'Apples': [30, 50, 40], 'Bananas': [21, 10, 15]}, index=['January', 'February', 'March'])
fruits_1