def CreateArray(name):
    node = idaapi.netnode()
    res  = node.create(_IDC_ARRAY_PREFIX + name)
    if res == False:
        return -1
    else:
        return node.index()
Create array.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/CreateArray