Quantcast
Channel: Better way to create a Dataset? - Mathematica Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Robert Nowak for Better way to create a Dataset?

a little bit late but:Dataset[AssociationThread[list[[1]]->Transpose@list[[2 ;;]]]]//Transpose

View Article


Answer by creidhne for Better way to create a Dataset?

This common data format, where the first row of data has column names, and the following rows are values, is easy to convert to a dataset with AssociationThread.list = {{"date", "time", "volume"}, {a1,...

View Article

Image may be NSFW.
Clik here to view.

Better way to create a Dataset?

I'd like to create a Dataset from an array, where each column's heading becomes the key for all elements in that column. I can accomplish this using nested Table commands, but was wondering if there is...

View Article
Browsing all 3 articles
Browse latest View live