I was working with a dataset that had a 'period of stay' feature and had a value like Mar-May I want to convert it to numerical form
I was working with a dataset that had a 'period of stay' feature and had a value like Mar-May
I want to convert it to numerical form .One obvious way is to take the difference between the 2 months.But How can I do it, can someone help
I want to convert it to numerical form .One obvious way is to take the difference between the 2 months.But How can I do it, can someone help
No any search results
You already invited:
1 Answers
peter
Upvotes from:
I'm not sure what programming language you're using, but I'm pretty sure the one you're using would have some date data type that you can use that understands time arithmetic to solve your problem.
Hope that helps. Good luck!