Introduction to data-science tools in Bluemix – Part 3

Formatting a date series in Python You will notice that the date is in format of “MMMM-YY”, this is a concern because the year is not specific. Because I know the data, I have made a rule in this case that everything less than 20 is for the year 2000 and beyond. Everything 20 and above is for the 1900’s. The next concern is that I need my date format in “YYYY_MM-DD” format and there is no “days” in the source date. I am going to default it to “01” Finally I need to transpose the character month to a numeric for the month, for example “Dec” will become “12” To do this I have created a simple callable function named “build_date”. The  “build_date” function accepts an input date in…


Link to Full Article: Introduction to data-science tools in Bluemix – Part 3