@Krishtetali wrote:
Hi , I av blog for big mart sales intro , this code is showing error - not supported between of instances of ‘float’ and 'str’
1)outlet_size_mode = data.pivot_table(values=‘Outlet_Size’, columns=‘Outlet_Type’,aggfunc=(lambda x:mode(x).mode[0]) )I removed aggfunc then it is showing - No numeric types to aggregate
2) outlet_size_mode = data.pivot_table(values=‘Outlet_Size’, columns=‘Outlet_Type’)
Posts: 1
Participants: 1