Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Extract Date Part #67

Open
RohitDhankar opened this issue May 12, 2020 · 1 comment
Open

Extract Date Part #67

RohitDhankar opened this issue May 12, 2020 · 1 comment
Assignees

Comments

@RohitDhankar
Copy link
Member

RohitDhankar commented May 12, 2020

Use this sample dataset - csv file == extractDateParts_MAY2020.csv
1/ Write a python method - which will identify and extract a DATE from a given String
2/ After the Date is extracted -- further get these PARTS from this DATE - create separate Columns for each PART which is extracted --

a/ Month of the year -- INTEGER
b/ Quarter of the year -- INTEGER
c/ Name of the month -- STRING
d/ Week of the year -- INTEGER
e/ Day of the week -- INTEGER
f/ Name of the day -- STRING
g/ hr_of_day_24 -- 1300h .. 1400h .. 1500h etc
h/ am_or_pm -- AM / PM


Post your code here in a Jupyter Notebook


Any doubts or any further clarifications required kindly contact Rohit - WhatsApp Text = +91-9871050873 or LinkedIn Text = https://www.linkedin.com/in/rohitdhankar/

@rajarshighoshal
Copy link
Collaborator

Hi Rohit, here is my code in jupyter
please suggest me the edits
date_extractor.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants