我不知道是否有一個技巧,以連續的數字在每個原始值之間擴展一個numpy數組, ... def extend(myList, n): extensions = [range(x, x + n) for x in myList] return ...
確定! 回上一頁