每个股票每一年都有多个数据,如下,只想保留2017最后一个和2018最后一个数据
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
想得到结果
2905 "2017-12-31" "0"
2905 "2018-04-29" "0"