# Perspective Table props.data scripting to force array

**URL:** <https://forum.inductiveautomation.com/t/perspective-table-props-data-scripting-to-force-array/60053>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [May 26, 2022, 10:51am UTC](https://forum.inductiveautomation.com/t/perspective-table-props-data-scripting-to-force-array/60053 "2022-05-26T10:51:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [May 26, 2022, 3:14pm UTC](https://forum.inductiveautomation.com/t/perspective-table-props-data-scripting-to-force-array/60053/4 "2022-05-26T15:14:14Z")

</div>

@JordanCClark actually answered your question on the other thread.

> [@PyDataset to Dictionary](https://forum.inductiveautomation.com/t/pydataset-to-dictionary/38968/14):
>
> Not in front of anything to test it, but I think that it needs to be a list comprehension: NewArray = [dict(zip(pyData.columnNames,list(row))) for i,row in enumerate(pyData)]

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-table-props-data-scripting-to-force-array/60053)._
