I would like to augment list from
[1, 2, 3, 4, 5]
to
[1, 1, 2, 2, 3, 3, 4, 4, 5, 5]
If I want to augment likewise n times (like 100 or 500 times), how can I do it? I do not want to do it with regular loop, but using some library like numpy. Any helps?
Many thanks.