R commands python commands library(dplyr) import pandas as pd data={'apples':[5,2,1],'oranges':[2,3,6]} pd.DataFrame(data, index=['Fede', 'Ani', 'Gautham'])