from PySide.QtCore import QPointF
xy = resize(arange(10), (2, 10)).T
qPlg = QPolygonF()
for p in xy:
    qPlg.append(QPointF(*p))
How can I efficiently transfer data from a NumPy array to a QPolygonF when using PySide?