Skip to content
Advertisement

Divide dataframe into list of rows containing all columns

From dataframe sructured like this

JavaScript

I need to get list like this:

JavaScript

Advertisement

Answer

It looks like you want:

JavaScript

example:

JavaScript

output:

JavaScript

other options

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement