Initialize a 2d array in python

From AcrodusWiki

To save future Alex issue with this again, just initialise the array like this

cables_type_arr = [[''] for i in range(int_inc)]

And then append each element array like so

cables_type_arr[i].append(record['Type'])

This example was taken from the cable route analysis tool.