Ticket #8570: create-table-with-vector-column.py

File create-table-with-vector-column.py, 179 bytes (added by Arturs Bekasovs, 7 years ago)

Script which creates a table with vector column

Line 
1newTable = WorkspaceFactory.createTable()
2newTable.addColumn("vector_int", "Numbers")
3
4for i in range(1,10):
5        newTable.addRow([range(0,i)])
6
7mtd.addOrReplace("NewTable", newTable)