Hello,
I have a data frame that contains two dates in a single column. I would like to copy the column and split the dates. how can I achieve this. data set below.
What I have:
I have a data frame that contains two dates in a single column. I would like to copy the column and split the dates. how can I achieve this. data set below.
What I have:
Ticker Date Added Date Removed 0 TER September 21, 2020 June 7, 2019 December 23, 2013 1 BMS June 7, 2019 December 5, 2014 2 DD June 3, 2019 September 1, 2017 3 DOW April 2, 2019 September 1, 2017 4 MXIM December 3, 2018 September 27, 2007Notice how the first row has two dates in the Date Removed Column? I would like the to manipulate the data to be the below:
Ticker Date Added Date Removed 0 TER September 21, 2020 June 7, 2019 1 TER September 21, 2020 December 23, 2013 2 BMS June 7, 2019 December 5, 2014 3 DD June 3, 2019 September 1, 2017 4 DOW April 2, 2019 September 1, 2017 5 MXIM December 3, 2018 September 27, 2007I am currently doing most of my manipulation using Pandas. Any help would be greatly appreciated.