0
從數據摘錄:簡單的方法來從文本中提取日期熊貓
Givent大熊貓數據框的下面的例子:
df =
index date
7838 2012 January
7790 2012 January
7853 2015 September
7889 2016 March
7928 2015 October
7847 1999 January
7884 2006 January
7826 1992 January
是否有免費的文本轉換成一個簡單的(和Python的)方式一個標準的日期時間變量?例如:
df =
index date
7838 2012-01-01
7790 2012-01-01
7853 2015-09-01
7889 2016-03-01
7928 2015-10-01
7847 1999-01-01
7884 2006-01-01
7826 1992-01-01