This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Maximilian Bredow
Posted Dec 12 - Read on Facebook

I have an array of objects (imported from Firebase) that I want to format (transpose? reduce?) to the format shown in attached screenshot. Can someone help?

I looked at but wasn't able to do it myself


Joseph Reni

I'm not sure it's the best way, but you could do something like:

for profile of profiles[0]
____profiles[0][profile] = profiles[0][profile].rating

print profiles

Amrit Mazumder

pretty inelegant, but it works —>

Read the entire post on Facebook