Get order count per day
ordersPerDay = ordersJoinOrderItems.map(lambda rec: rec[1][1].split(",")[1] + “,” + str(rec[0])).distinct()
When I run above command I am getting Type error as below-
TypeError: can only concatenate list (not “str”) to list