Question: Python Homework question is another option is to use s.split(-). Use that strategy, again together with map, a lambda function, and int. How to I
Python
Homework question is "another option is to use s.split("-"). Use that strategy, again together with map, a lambda function, and int."
How to I add in that x so that it will also be turn into an integer with in the map? I am able to split the "-" from the string of date but don't know how to then in the same line turn it into a Integer.
df["date"].map(lambda x : x.split("-"))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
