import timeit
print(timeit.timeit("list_1[:][:]",
setup="list_1 = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]"))
print(timeit.timeit("list_2[:,]",
setup="import numpy as np; list_2 = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])"))
aW1wb3J0IHRpbWVpdAoKcHJpbnQodGltZWl0LnRpbWVpdCgibGlzdF8xWzpdWzpdIiwgCiAgICAgIHNldHVwPSJsaXN0XzEgPSBbWzEsIDIsIDNdLCBbNCwgNSwgNl0sIFs3LCA4LCA5XV0iKSkKCnByaW50KHRpbWVpdC50aW1laXQoImxpc3RfMls6LF0iLCAKICAgICAgc2V0dXA9ImltcG9ydCBudW1weSBhcyBucDsgbGlzdF8yID0gbnAuYXJyYXkoW1sxLCAyLCAzXSwgWzQsIDUsIDZdLCBbNywgOCwgOV1dKSIpKQ==