fslaborg / Deedle

Easy to use .NET library for data and time series manipulation and for scientific programming
http://fslab.org/Deedle/
BSD 2-Clause "Simplified" License
924 stars 196 forks source link

How to order columns using Frame? #369

Closed yibei333 closed 6 years ago

yibei333 commented 6 years ago

e.g: Id,data1,data2 1,v1,v2 2,v3,v4 =========================> Id,data2,data1 1,v2,v1 2,v4,v3

tpetricek commented 6 years ago

Something like this should do the trick:

let f = Frame.ofRecords [(1,2); (3,4)]
f.Columns.[["Item2"; "Item1"]]