0

I need to write a function that takes symbols from the left of /// to the column "date". Typical rought sentence looks like this:

Wed Dec  1 15:47:30 2021///Песков: итоговая пресс-конференция Путина пройдет 23 декабря

After extraction, there would be 2 columns:

date:"Wed Dec 1 15:47:30 2021"
text"Песков: итоговая пресс-конференция Путина пройдет 23 декабря"

How the functoin can be done?

def extract_date():

0 Answers0