add example of AsTable

This commit is contained in:
Bogumił Kamiński 2022-03-15 15:46:15 +01:00
parent 1d60455809
commit f62a3b2ab0

View File

@ -131,6 +131,10 @@ df
all(x -> x.status == "OK", df.data) all(x -> x.status == "OK", df.data)
small_df = DataFrame(x=[(a=1, b=2), (a=3, b=4), (a=5, b=6)])
transform(small_df, :x => identity => AsTable)
transform(small_df, :x => AsTable)
df2 = select(df, :K, :data => ByRow(x -> x.value) => AsTable) df2 = select(df, :K, :data => ByRow(x -> x.value) => AsTable)
using Plots using Plots