Conversion from an array of python dictionaries to an array of arrays using transform

If I'm understanding you correctly, you can just loop through the dictionaries in the array, and then you can loop through the keys in each dictionary. Something like this might work:

def convertData(data):	
	return [[dic[key] for key in dic] for dic in data]
1 Like