Function 'append2df.ds' amended.