What will be the equivalent of the following command in Python 3.
orderItemsMap = map(lambda rec: float(rec.split(","), orderItemsFilter)
As per the Python 3 tutorial i also tried typecasting the entire thing in LIST as below, but that also did not work.
orderItemsMap = list(map(lambda rec: float(rec.split(","), orderItemsFilter))
Do note that when i try using the map function using a single List it works fine, but when I tried using the file structure in our course, it did not work.