using Query, DataFrames, TimeSeries, Dates
df = DataFrame(name=["John", "Sally", "Kirk"], age=[23., 42., 59.], children=[3,5,2], timestamp=[today() for i = 1:3])
x = @from i in df begin
@select {i.name, i.age, Children=i.children, timestamp=i.timestamp}
@collect TimeArray
end
# vs
x = @from i in df begin
@select {i.name, i.age, Children=i.children, timestamp=i.timestamp}
@collect DataFrame
end
TimeArray(x, timestamp=:timestamp)
Hi All, Title says it all. mwe: