Question about foodwheel jupyter notebooks:
I am trying to make the new column for orders based on splitting the date column. Nothing works. When I use I use a lambda function to make the month, it doesn’t crash but adding the column is problematic.
month = lambda x: len(x[“date”].split(’-’))
It’s telling me that assign gets 1 positional argument and I’ve provided 2 (which clearly I have not - and the same thing happens when I use month without single quotes and brackets. If I leave assign empty, nothing happens at all. Do you have a hint? All the normal online resources are silent on this (or I haven’t dug up the answer yet.)