Array Rotation in Python

One of the method: Cut out the number of elements to be rotated, and combining with the remaining elements in the array by placing the cut element at the back.

array_1 = [1,2,3,4,5,6,7,8,9,10]
n_1 = len(array_1)
d_1 = 30

if d_1 == n_1:
    array_1_final = array_1

elif d_1 < n_1:
    temp = array_1[:d_1]
    del array_1[0:d_1]
    array_1_final = array_1 + temp

elif d_1 > n_1 and d_1 % n_1 == 0 :
    array_1_final = array_1

elif  d_1 > n_1 and d_1 % n_1 != 0:
    d_1_final = d_1 % n_1
    temp = array_1[:d_1_final]
    del array_1[0:d_1_final]
    array_1_final = array_1 + temp